VirtualBox

Ignore:
Timestamp:
Mar 15, 2023 3:05:21 PM (23 months ago)
Author:
vboxsync
Message:

Signing scripts: preparing for build time ExtPack attestation signing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd

    r98103 r98989  
    4040set _MY_OPT_WITH_PDB=1
    4141set _MY_OPT_EXTPACK=
     42set _MY_OPT_NO_EXTRACT=0
    4243set _MY_OPT_WITH_EXTPACK=1
    4344set _MY_OPT_WITH_GA=0
     
    7273if ".%1" == ".-p"           goto opt_p
    7374if ".%1" == ".--pdb"        goto opt_p
     75if ".%1" == ".--no-extract" goto opt_t
    7476if ".%1" == ".-x"           goto opt_x
    7577if ".%1" == ".--no-extpack" goto opt_x
     
    137139goto argument_loop_next_with_value
    138140
     141:opt_t
     142set _MY_OPT_NO_EXTRACT=1
     143shift
     144goto argument_loop
     145
    139146:opt_x
    140147set _MY_OPT_WITH_EXTPACK=0
     
    146153shift
    147154goto argument_loop
    148 
    149155
    150156:syntax_error_missing_value
     
    191197
    192198if "%_MY_OPT_WITH_EXTPACK%" == "0"  goto no_extpack_validation
     199if "%_MY_OPT_NO_EXTRACT%" == "1"    goto no_extpack_validation
    193200if ".%_MY_OPT_EXTPACK%" == "."      set _MY_OPT_EXTPACK=%_MY_OPT_BINDIR%\Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack
    194201if not exist "%_MY_OPT_EXTPACK%"    goto error_extpack_does_not_exist
     
    219226if not exist "%_MY_OPT_BINDIR%\ExtensionPacks"  ( mkdir "%_MY_OPT_BINDIR%\ExtensionPacks" || goto end_failed )
    220227if not exist "%_MY_EXTPACK_DIR%"                ( mkdir "%_MY_EXTPACK_DIR%" || goto end_failed )
     228if "%_MY_OPT_NO_EXTRACT%" == "1" goto no_extpack_unpack
    221229"%_MY_OPT_BINDIR%\tools\RTTar.exe" -xzf "%_MY_OPT_EXTPACK%"  -C "%_MY_EXTPACK_DIR%" || goto end_failed
    222230:no_extpack_unpack
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette