VirtualBox

Changeset 106247 in vbox for trunk/src


Ignore:
Timestamp:
Oct 8, 2024 9:50:21 PM (7 weeks ago)
Author:
vboxsync
Message:

Additions/NT/Installer,Config.kmk: Use the same signing commands for the additions installer and uninstaller image as for signing all other executables. VBOX_SIGN_FILE_FN would work differently from VBOX_SIGN_IMAGE_FN when corp signing plans b & c. This caused trouble when the installer loader stub compared its signature with that of the actual installers or the build certificate. bugref:10771

File:
1 edited

Legend:

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

    r106061 r106247  
    316316                $(if $(VBOX_WIN_ATTESTATION_SIGNING),$(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME)) \
    317317                $(VBOX_VERSION_STAMP) \
    318                 $$(VBoxDrvInst_1_STAGE_TARGET)
     318                $$(VBoxDrvInst_1_STAGE_TARGET) \
     319                | $(VBOX_SIGN_IMAGE_ORDERDEPS)
    319320        $(call MSG_L1,Creating $@, from $<)
    320 ifdef VBOX_WIN_ATTESTATION_SIGNING # Unpack the attestation signed drivers - this is an ugly has 'ing heck hack!
     321ifdef VBOX_WIN_ATTESTATION_SIGNING # Unpack the attestation signed drivers - this is an ugly as 'ing heck hack!
    321322        $(TOOL_ZIP_UNPACK) -oj $(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME) -d $(PATH_STAGE_BIN)/additions/
    322323endif
     
    332333                        $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_BRAND_$(lang)_LICENSE_RTF=1') \
    333334                        '$(subst /,\,$<)'
    334         $(call VBOX_SIGN_FILE_FN,$@)
     335        $(call VBOX_SIGN_IMAGE_FN,$@)
    335336
    336337
     
    378379                        '$(subst /,\,$<)'
    379380
    380  $(PATH_TARGET)/uninst.exe: $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe | $$(dir $$@)
     381 $(PATH_TARGET)/uninst.exe: \
     382                $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe | $$(dir $$@) $(VBOX_SIGN_IMAGE_ORDERDEPS)
    381383        $(call MSG_L1,Creating $@, from $<)
    382384        $(QUIET)$(RM) -f $@
    383385        -$(REDIRECT) -E __COMPAT_LAYER=RUNASINVOKER -- $<
    384386        $(TEST) -f $@
    385         $(call VBOX_SIGN_FILE_FN,$@)
     387        $(call VBOX_SIGN_IMAGE_FN,$@)
    386388
    387389endif # VBOX_SIGNING_MODE
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