VirtualBox

Ignore:
Timestamp:
Apr 25, 2024 12:21:00 PM (9 months ago)
Author:
vboxsync
Message:

/Config.kmk,Installer/win/Makefile.kmk: time installer signing; cleanups. bugref:10657

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Makefile.kmk

    r104426 r104430  
    12011201                $@ \
    12021202                $(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd ) )
    1203         $(REDIRECT) -C $(@D) -- \
     1203        $(REDIRECT) -C "$(@D)" -- \
    12041204                $(VBoxStubBld_1_TARGET) -out $@ \
    12051205                        -target-$(KBUILD_TARGET_ARCH) $(PACKAGE_NAME_FINAL) \
    12061206                        -stub $(PATH_STAGE_BIN)/VBoxStub.exe
    12071207        $(VBOX_VCC_EDITBIN) /IntegrityCheck:NO $@
    1208         $(call VBOX_SIGN_FILE_FN,$@)
     1208        $(call VBOX_SIGN_FILE_FN,$@,,,,,,timed)
    12091209 # Create repack script for this step.
    12101210        $(APPEND) -nt "$(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(@F).cmd" \
     
    12231223        echo "Repacking HERE"
    12241224        cd $(VBOX_WIN_INST_REPACK_DIR)
    1225         $(RM) -f $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab
    1226         $(RM) -f $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab.ddf
    1227         $(RM) -f $(VBOX_WIN_INST_REPACK_DIR)/PackDriversForSubmission_internal.cmd
    1228         $(CP) $(PATH_STAGE_BIN)/VBoxSup.sys $(VBOX_WIN_INST_REPACK_DIR)
    1229         $(VBOX_SIGNTOOL) remove /s /q $(VBOX_WIN_INST_REPACK_DIR)/VBoxSup.sys
    1230         $(CP) $(PATH_STAGE_BIN)/VBoxNetAdp6.sys $(VBOX_WIN_INST_REPACK_DIR)
    1231         $(VBOX_SIGNTOOL) remove /s /q $(VBOX_WIN_INST_REPACK_DIR)/VBoxNetAdp6.sys
    1232         $(CP) $(PATH_STAGE_BIN)/VBoxNetLwf.sys $(VBOX_WIN_INST_REPACK_DIR)
    1233         $(VBOX_SIGNTOOL) remove /s /q $(VBOX_WIN_INST_REPACK_DIR)/VBoxNetLwf.sys
    1234         $(CP) $(PATH_STAGE_BIN)/VBoxUSB.sys $(VBOX_WIN_INST_REPACK_DIR)
    1235         $(VBOX_SIGNTOOL) remove /s /q $(VBOX_WIN_INST_REPACK_DIR)/VBoxUSB.sys
    1236         $(CP) $(PATH_STAGE_BIN)/VBoxUSBMon.sys $(VBOX_WIN_INST_REPACK_DIR)
    1237         $(VBOX_SIGNTOOL) remove /s /q $(VBOX_WIN_INST_REPACK_DIR)/VBoxUSBMon.sys
    1238         $(CP) $(PATH_STAGE_BIN)/VMMR0.r0 $(VBOX_WIN_INST_REPACK_DIR)
    1239         $(VBOX_SIGNTOOL) remove /s /q $(VBOX_WIN_INST_REPACK_DIR)/VMMR0.r0
    1240         $(CP) $(PATH_STAGE_BIN)/VBoxDDR0.r0 $(VBOX_WIN_INST_REPACK_DIR)
    1241         $(VBOX_SIGNTOOL) remove /s /q $(VBOX_WIN_INST_REPACK_DIR)/VBoxDDR0.r0
     1225        $(RM) -f -- \
     1226                "$(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab" \
     1227                "$(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab.ddf" \
     1228                "$(VBOX_WIN_INST_REPACK_DIR)/PackDriversForSubmission_internal.cmd"
     1229        $(foreach file, VBoxSup.sys VBoxNetAdp6.sys VBoxNetLwf.sys VBoxUSB.sys VBoxUSBMon.sys VMMR0.r0 VBoxDDR0.r0 \
     1230        ,$(NLTAB)$(CP) -- "$(PATH_STAGE_BIN)/$(file)" "$(VBOX_WIN_INST_REPACK_DIR)/" \
     1231                 $(NLTAB)$(VBOX_SIGNTOOL) remove /s /q "$(VBOX_WIN_INST_REPACK_DIR)/$(file)" )
    12421232        cd $(VBOX_WIN_INST_REPACK_DIR) && ls -la
    12431233        $(APPEND) -nt "$(VBOX_WIN_INST_REPACK_DIR)/PackDriversForSubmission_internal.cmd" \
    1244         "SET KBUILD_BIN_PATH=$(KBUILD_BIN_PATH)" \
    1245         "call PackDriversForSubmission.cmd -b $(PATH_STAGE_BIN) -a $(KBUILD_TARGET_ARCH) \
     1234                "SET KBUILD_BIN_PATH=$(KBUILD_BIN_PATH)" \
     1235                "call PackDriversForSubmission.cmd -b $(PATH_STAGE_BIN) -a $(KBUILD_TARGET_ARCH) \
    12461236                -x -n --no-extpack -o $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab"
    12471237
    1248         cd $(VBOX_WIN_INST_REPACK_DIR) && $(EXEC_X86_WIN32) cmd.exe /c PackDriversForSubmission_internal.cmd
    1249         cd $(VBOX_WIN_INST_REPACK_DIR) && $(VBOX_RETRY) $(VBOX_WIN_ATTESTATION_SIGNING_EXE) "Oracle VM VirtualBox Base drivers $(KBUILD_TARGET_ARCH) $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)r$(VBOX_SVN_REV)" "$(KBUILD_TARGET_ARCH)" "r$(VBOX_SVN_REV)" "$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab"
    1250 
    1251         $(RM) -f $(VBOX_WIN_INST_REPACK_DIR)/Single-3-Repack_internal.cmd
     1238        $(TIME_EXT) $(REDIRECT_EXT) -C "$(VBOX_WIN_INST_REPACK_DIR)" -- $(EXEC_X86_WIN32) cmd.exe /c PackDriversForSubmission_internal.cmd
     1239        $(TIME_EXT) $(REDIRECT_EXT) -C "$(VBOX_WIN_INST_REPACK_DIR)" -- $(VBOX_RETRY) $(VBOX_WIN_ATTESTATION_SIGNING_EXE) "Oracle VM VirtualBox Base drivers $(KBUILD_TARGET_ARCH) $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)r$(VBOX_SVN_REV)" "$(KBUILD_TARGET_ARCH)" "r$(VBOX_SVN_REV)" "$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab"
     1240
     1241        $(RM) -f -- "$(VBOX_WIN_INST_REPACK_DIR)/Single-3-Repack_internal.cmd"
    12521242        $(APPEND) -nt "$(VBOX_WIN_INST_REPACK_DIR)/Single-3-Repack_internal.cmd" \
    1253         "SET KBUILD_BIN_PATH=$(KBUILD_BIN_PATH)" \
    1254         "SET KBUILD_DEVTOOLS=$(KBUILD_DEVTOOLS)" \
    1255         "call Single-3-Repack.cmd --no-extpack --signed "$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab.Signed.zip"
    1256         cd $(VBOX_WIN_INST_REPACK_DIR) && $(EXEC_X86_WIN32) cmd.exe /c Single-3-Repack_internal.cmd
    1257 
    1258         $(RM) -f $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL)
    1259         $(RM) -f $(PATH_STAGE_BIN)/$(PACKAGE_NAME_LANG).msi
    1260         $(CP) $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_MULTIARCH_FINAL) $(PATH_STAGE_BIN)/
    1261         $(CP) $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG).msi        $(PATH_STAGE_BIN)/
     1243                "SET KBUILD_BIN_PATH=$(KBUILD_BIN_PATH)" \
     1244                "SET KBUILD_DEVTOOLS=$(KBUILD_DEVTOOLS)" \
     1245                "call Single-3-Repack.cmd --no-extpack --signed "$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab.Signed.zip"
     1246        $(TIME_EXT) $(REDIRECT_EXT) -C "$(VBOX_WIN_INST_REPACK_DIR)" -- $(EXEC_X86_WIN32) cmd.exe /c Single-3-Repack_internal.cmd
     1247
     1248        $(RM) -f -- \
     1249                "$(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL)" \
     1250                "$(PATH_STAGE_BIN)/$(PACKAGE_NAME_LANG).msi"
     1251        $(CP) -- "$(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_MULTIARCH_FINAL)" "$(PATH_STAGE_BIN)/"
     1252        $(CP) -- "$(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG).msi"        "$(PATH_STAGE_BIN)/"
    12621253 endif
    12631254endif
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