Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[packaging] Fixup buildall.bat #1209

Closed

Conversation

benyamin-codez
Copy link
Contributor

Made directory creation conditional (if not exist)
Removes reference to non-existent file COPYING

Made directory creation conditional (if not exist)
Removes reference to non-existent file COPYING

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
@kostyanf14
Copy link
Member

@YanVugenfirer Do we still need this folder for anything?

@kostyanf14
Copy link
Member

@vrozenfe Do we still need this folder for anything?

@benyamin-codez
Copy link
Contributor Author

@YanVugenfirer @vrozenfe @kostyanf14

This basically creates the old unattended floppy disk style OEM TXTSETUP driver disk tree, in this case for viostor...

If you think it worthwhile, I'm happy to add a commit to delete it here...
...and one each for PRs #1211 and #1212 to remove it there also... 8^d
Let me know.

@vrozenfe
Copy link
Collaborator

vrozenfe commented Dec 9, 2024

@vrozenfe Do we still need this folder for anything?

Starting with RHEL-8, we no longer provide VFD images.
The main reason, as far as I remember, is that RHEL's QEMU
doesn't support floppy disk controllers anymore.
But who knows what might happen in the future?

Also, if we ever do a full cleanup, we could remove all OEM
and VFD related stuff from the virtio-win and packaging
repositories.

Cheers,
Vadim.

@YanVugenfirer
Copy link
Collaborator

Also, if we ever do a full cleanup, we could remove all OEM
and VFD related stuff from the virtio-win and packaging
repositories.

OK, so let's remove all VFD related stuff @benyamin-codez

@benyamin-codez
Copy link
Contributor Author

@YanVugenfirer @vrozenfe

Also, if we ever do a full cleanup, we could remove all OEM
and VFD related stuff from the virtio-win and packaging
repositories.

OK, so let's remove all VFD related stuff

So do you wish me to redo this PR to delete the [packaging] folder and associated artefacts in clean and build...?

Will this break anything else in virtio-win, including the packaging repos...?
Are there any other OEM or VFD related stuff that need to be removed also...?
I'm not familiar enough with the rest of the tree or the packaging repos to even know where to start...

@kostyanf14
Copy link
Member

@benyamin-codez

So do you wish me to redo this PR to delete the [packaging] folder and associated artefacts in clean and build...?

Yes

Will this break anything else in virtio-win, including the packaging repos...?

It shouldn't break

benyamin-codez added a commit to benyamin-codez/kvm-guest-drivers-windows that referenced this pull request Dec 18, 2024
1. Remove the packaging folder.

Refer to PR virtio-win#1209 for commentary.

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
benyamin-codez added a commit to benyamin-codez/kvm-guest-drivers-windows that referenced this pull request Dec 18, 2024
Addendum to 52d23db, 3bc554e and 933b732.

1. Removed packaging folder from root\clean.bat per PR virtio-win#1209.

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
benyamin-codez added a commit to benyamin-codez/kvm-guest-drivers-windows that referenced this pull request Dec 18, 2024
Addendum to da96c89 and 74f5391.

1. Removed packaging folder from root\buildAll.bat per PR virtio-win#1209.

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
@benyamin-codez
Copy link
Contributor Author

benyamin-codez commented Dec 18, 2024

Changes made to delete:

  1. Folder - New PR #1224
  2. Reference in root\clean.bat - Added to PR #1211
  3. Reference in root\buildAll.bat - Added to PR #1212 --> PR #1231

EDIT: Added child PR #1231 for PR #1212

benyamin-codez added a commit to benyamin-codez/kvm-guest-drivers-windows that referenced this pull request Dec 24, 2024
 1. Fixed various syntax issues, including an unquoted variable in
    conditional test (Debug or Release log file name), superfluous
    backslashes, spaces between errorlevel tests and tested functions,
    MSBuild syntax consolidaiton, prefixing FOR do commands with @, etc.
 2. Unwrapped nested IF statements to ensure no jumping out of loops
    or other unexpected behaviours.
 3. Updated usage, including Win11 target and explanation regarding
    analysis builds (build.bat only).
 4. Added analysis build specific variables CODEQL_FAILED and SDV_FAILED
    to init area (build.bat only).
 5. Refactored fail code, removing return failure detection in favour
    of in-line failure detection.
 6. Updated labels to use snake style notation.
 7. Refactored end of build_arch function to avoide "goto :eof" and
    instead use ":build_arch_done" to ensure POPD occurs and
    ":build_arch_skip" to check for success before ending the local
    environment (build.bat only).
 8. Do conditional (if exists) removal of sdv and codeql_db folders
    (build.bat only).
 9. Additional commenting and stdout output (logging).
10. Remove superfluous newline spacing.
11. Removed packaging folder from build per PRs virtio-win#1209 and virtio-win#1224
    (buildAll.bat only).
12. Consolidated exiting function (whether success or fail) to
    :leave (buildAll.bat only).

Split from PR virtio-win#1212.

     .,ueeeeeu,
   e$$$$$P?$$$$$b
 :$$$$"      '$$$$c
 $$$$          $$$$c
 $$$6          $$$$$
 $$$F          $$$$"
 $$$F          $$$F
 $$$$         $$$F
 $$$$        J$$F                                   .ccCCCCCCCCc,.
 ?$$$        $$$$$$e                             ,CCCCCCCCCCCCCCCCCCc
 :$$$        `$$$$$"                            CCCCCCCCCCCCCC" CCCCCC.
 `$$$.                                         CCCCCCCCCCC" .,d.`CCCCCC.
  $$$t             .,uuuuu,.                  <CCC  . `"",$$$$$$L CCCCCC
  ?$$$          ,HHHHHHHHHHHHHb,               CCC $$$$$$$$$P"""" `CCCCC
  `$$$        4F"" .,uuuuuuu,,,,.              `CC '=-  "$$$="""$$r C><C
  `$$$,      zuHF""`.,,,,,,. ""??HH             `CC bue$:$$$$bd$$$ C ? C
   $$$$      -=='.ee???$eeeec,,,.`=.             `C $$$$ $$P???$$$ C  cC
   ?$$$     ,H""  .e$P"""?heeee,,.""               .'P .cc-=<Cc,  cC'CC'
   `$$$    HH jF $$$b,/"""cd$$..,,)                 \ dP".  .,cCCCP u
   `$$$. .HHH H':F $$$du,$$$$ ' ";l                  CCCCCCCCCCCCC'.$$
    $$$h HHHF H H  "$$$$$F d$ 4$$ H                ,z "?CCCCCCCCP J$$ :: $
    ?$$$ HHH'jF.H % $P" ...'" u$ J'            .d$$$$F .   ....zd$P" :::d$
    :$$$ HHH H HF %%,%%"     %' dH           j$$$$$$$$ :::        ::::: $$
             ? HF %%%%%.%. " % JHf        :: $$$$$$$$$. :::::::::::::::d$$
 .:::::::::::::   '%%%%%%%%%%/ H"      ::::: $$$$$$$$$$ ::::::::::::::d$$$
:::'``````````'::: `%%%%%%%%% JH dH   :::::: ?$$$$$$$$$ `:::::::::::: $$$$
..:::::::::::::::.  %%%%%%/', H" H",""  `::: ?$$$$$$$$$" :::::::::::`$$$$$
   ... . ::: : . `: `eeeee;".F -.H dHHHHc.    $$$$$F"`.=" `:::::::` '?$$$$
:::::   .ze$eu  . `:  =uuuu/"z".H" HHHHHHHHHHe. "" e$$$$$$b  :::: ee,. '$$
'   z$$$$$$$$$$$$$  `.zeed?"".dHF HHHHHHHHHHHHHH  $$$$$beeem ': ec,"$$$$ '
 : 4$$$ .   $$$$??  beeeeeedHF"".HHHHHF"" _,,..    `$$$$cze= ':,,`"$$$$$$$
:  $$$$$b,,d$F  ,  .HHF""".,zeHHHHF" ,i!"` .,;i!!!i;. ?$bee` ::`""9$$$$$$$
: $$$$$$$$$$$L.,  c,,eeHHHHHHHHF ,i!' .;!!!!!!!!!!!!!!.  . ::::""??$$$$$$$
 J$$$$$??$,`'". .HHHHHHHHHHHH" ,!!'.i!!!!!!!!!!!!!!!!!!  \ ::::: d$bc."??$
 "$$$$$$h  .; .HHHHHHHHHHHF" ,!!',! !!!!!!''''`  '''<!!i  ? :::: d$$$$$
:$ "$$$$$$$F uHHHHHHHHHHH" ,!! ,!! !!!"                !i    :::  $$$$$
$$$    """    "HHHHHHHHH ,!!',!!!! !" .d$$$$ezece$$$,   !    ::: d$$$$$'
...:  ::::::::  3HHHHH" ,!!',!!!!!   d$$$$$$$$$$$$$$$t   >   ::: d$$$$$
:::: ::` .:::::  HHHHF ,!!' !!!!!!  9$$P""""?$$$$$$$$"   ! ; `:: $$$$$$ :
:::   .::::::::: ?HH" ,!!! !!!!!!!  3$$$.``''$$$F - ;    ! ! `:  $$$$$$`::
::  .:::::::::::  H" ,!!!'<!!!!!!!i  $$$$$$$$$$ teeJ' .  ! !  : d$$$$$$`::
` .:::::::::::::: " ,!!!! <!!!!!!!!   $$$$$$P??'?$$      ! !i ` d$$$$$$L::
 :::::::::::        `<!!! !!!!!!!!'   '$$u,"""" ,' .  ;  ! `!.  d$$$$$$$::
.:::::::  aeeee$$$$$$e   <!!!!!!!'   '.^$$$$$$F'  ;      !! !!, $$$$$$$$`:
::::::::::`""777d$$$$$$u  !!!!!!   '  $$ee...e%  <  ,    !! `!!i$$$$$$$L :
 ``````::`` d$$$$$  ?$$$b `!!!'  , .  $$$$$$$$    .     . !! !!!,$$$$$$$ :
eccec,.  ,zd$$$$$$$$$$>$L; !'   ; ,   """""""       ;    \ `! !!!,?$$$$$ `
$$$$$$$$d$$$$$$$$$P""""` .  .  '     !!!!!!!!! .    `;  ` `  !, !!i"$$$$ `
$$$$$$$$$$$$$$$$$F    i!!'    ,'   .. .. ``!!! !     `;  \ `   `\`!!.$$$L
>>>"""""""??$$$$k ==" !!'  ' ,  , d$$" u":". !! !  \  `;  `   i!i,`!!, ?$F
$$$$UUU$$$$u,"?$$$ =" r   '    $F4 ".$$LJ 3$L !!,`  ',    \ !!i,.`!i.`!.$
$$$$$$$$$$$ec. d$$$  f     '" $$F4.$"zP"$$b."b  !!,` '!  . :!!!!!!i.`!i
"""```"=??he,  ?$$$b ,i'!  ! d$$$$$d$b$$$$$$F?$       `!=''  ..... `!,!i
,,,,  ,,,   ::: $$$$ `!i 'i" $$$$$$$$$$$$$$$c`" d$$$$$$bc, "?$$$$$$$.!,`!i
$$$' $$$ '::::: '$$$> !!!!!   `?$$$$$$$$$$$$F  d$$$$$$$$$$F,u.'$$$$$$c!i`!
 : .$$$"x :::::  $$$ i!!!!!, $.   ``"""""" .,z$$$P"?$$$",ed$$$b $$$$$$i!!!
$e $$$" $R ::::: 3$$ !!!!!!!,`$$bd"uer  .dP"""?$$. ?y, "4$$$$$$,`$$$$Fi!!!
" d$$$  :::::::: )$$ !!!!!!i   `$$bc      . "?bey,. `d$$e `$$$$F $PP"i!!!!
 d$$F $r ::::::  $$$ )!!!!!!     `$$$L".W. "?$by,`"d$$$$$$c $$$" .eeeeu '!
J$$" :  .::::  . """ !!!!!!!i.     `??$  .,._ `"3$$$$$$$$$b,,,d$$$$$$$$c
"$" ::::::'    :  !!!!!!!!!!!!i;;i! ueee. `"?$$$$$$$$$$$$$$$$$$$$$$$$$$$F
:.:::::::  `:: :: <!!!!!!!!!!!!> z$$$$$$$$$$$be..`'<<<??$$$$$$$$$$$$$$$F.i
::::::::  : :: ::  !!!!!!!!!!!':$$$$$$$$$$$$$$$$$$beeeeeee,.    ```"`,i!!!
::::::  ::: ::: :  !!!!!!!!!' . ""??$$$$$$$$$$$$$$PF"""'`  .,,;;ii!!!!!!!!
:::::   ::: `:: :: `!!!!!!!  !!!!!i,,,,...  .....,,,;;;ii!!!!!!!!!!!!!!!!!
:::  :: :::: :: ::  !!!!!' ,!!!!!!!!!!!!",!!!!!!!!!!!!!!!!!,`!!!!!!!!!!!!!
:`  ':: :::: :: ::  !!!!' !!!!!!!!!!!!! ,!!!!!!!!!!!!!!!!!!!i!!!!!!!!!!!!!
 .:: :: :::: :: ::  !!!' !!!!!!!!!!!!'.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
:::: :: :::: :: ::  !!' !!!!!!!!!!!!',!!!!''.,;;;;;,.`'''''''`!!!!!!!!!!!!
:::: :' :::: `: `:  !'.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!i;,,..`'<!!!!!
::: :' ::::: :: ::   .!!!! .!!!!!!!i!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!i;;,, '
::`.: .:''` ..  . `` .  '  , '!!!!i!!!!>:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       ...\..>\\.\\.\\\\ ,/ |,   ''```''`<<''<'<<<<<<<!!!!!!!!!!!!!!!!!!!!
`\>/`\\\>\%`%%"./'%..\=///,%//,,/', ,/'' ,/   ,  `'''''''''''''''''!!!!!!!
//>;>;\.""./';./>.`\- |`/./'','./|'"/`\\</%/'//%','::::::::::::::::!!!!!!'
\.:\'.'///'">>>`,`/'.  '. ,` ,/',/',|%//<</,'<^< -=-<'\\'-::``,::'.!!!'` .
/==>'/%.////;.//>>,/,;,.-.`\`,..\`<.\\=\\-^//=/<<\\%'- ' .,::` ..:' '`.:::
'/'/''/'/>.''</>(\<|/%<%///>\`\%</>>\\%\\\>/\'\\\\< `.,''  ..::'`.:.::::'`
/',/"><|,/','/'>,/,/'>/|/>\\`|"\|<``\`\"" \<```.,,'``  ..::::..:::: :::
::::::::::::::::::::::...::::::::::::::::::::''` ...::::::::::::::: :::
............................................. .:::::::::::::::::::: :::
::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::   .

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
YanVugenfirer pushed a commit that referenced this pull request Jan 5, 2025
Addendum to 52d23db, 3bc554e and 933b732.

1. Removed packaging folder from root\clean.bat per PR #1209.

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
benyamin-codez added a commit to benyamin-codez/kvm-guest-drivers-windows that referenced this pull request Jan 5, 2025
1. Remove the packaging folder.

Refer to PR virtio-win#1209 for commentary.

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
benyamin-codez added a commit to benyamin-codez/kvm-guest-drivers-windows that referenced this pull request Jan 18, 2025
 1. Fixed various syntax issues, including an unquoted variable in
    conditional test (Debug or Release log file name), superfluous
    backslashes, spaces between errorlevel tests and tested functions,
    MSBuild syntax consolidaiton, prefixing FOR do commands with @, etc.
 2. Unwrapped nested IF statements to ensure no jumping out of loops
    or other unexpected behaviours.
 3. Updated usage, including Win11 target and explanation regarding
    analysis builds (build.bat only).
 4. Added analysis build specific variables CODEQL_FAILED and SDV_FAILED
    to init area (build.bat only).
 5. Refactored fail code, removing return failure detection in favour
    of in-line failure detection.
 6. Updated labels to use snake style notation.
 7. Refactored end of build_arch function to avoide "goto :eof" and
    instead use ":build_arch_done" to ensure POPD occurs and
    ":build_arch_skip" to check for success before ending the local
    environment (build.bat only).
 8. Do conditional (if exists) removal of sdv and codeql_db folders
    (build.bat only).
 9. Additional commenting and stdout output (logging).
10. Remove superfluous newline spacing.
11. Removed packaging folder from build per PRs virtio-win#1209 and virtio-win#1224
    (buildAll.bat only).
12. Consolidated exiting function (whether success or fail) to
    :leave (buildAll.bat only).

Split from PR virtio-win#1212.

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
YanVugenfirer pushed a commit that referenced this pull request Jan 20, 2025
 1. Fixed various syntax issues, including an unquoted variable in
    conditional test (Debug or Release log file name), superfluous
    backslashes, spaces between errorlevel tests and tested functions,
    MSBuild syntax consolidaiton, prefixing FOR do commands with @, etc.
 2. Unwrapped nested IF statements to ensure no jumping out of loops
    or other unexpected behaviours.
 3. Updated usage, including Win11 target and explanation regarding
    analysis builds (build.bat only).
 4. Added analysis build specific variables CODEQL_FAILED and SDV_FAILED
    to init area (build.bat only).
 5. Refactored fail code, removing return failure detection in favour
    of in-line failure detection.
 6. Updated labels to use snake style notation.
 7. Refactored end of build_arch function to avoide "goto :eof" and
    instead use ":build_arch_done" to ensure POPD occurs and
    ":build_arch_skip" to check for success before ending the local
    environment (build.bat only).
 8. Do conditional (if exists) removal of sdv and codeql_db folders
    (build.bat only).
 9. Additional commenting and stdout output (logging).
10. Remove superfluous newline spacing.
11. Removed packaging folder from build per PRs #1209 and #1224
    (buildAll.bat only).
12. Consolidated exiting function (whether success or fail) to
    :leave (buildAll.bat only).

Split from PR #1212.

Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants