VirtualBox

Changeset 107327 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 13, 2024 9:29:59 PM (5 weeks ago)
Author:
vboxsync
Message:

Additions: The "use last arch specific additions path for VBOX_PATH_ADDITIONS.win" approach falls to pieces if the last one uses different signing parameters (no dual signing) than the "usual" arch. Made this a bit smarter by picking the one for the target arch active during packing, but overall this approach isn't right. It would need merging of file lists across all archs and removing 'relative path duplicates' (which still assumes that same name=same content which isn't absolutely guaranteed either).

File:
1 edited

Legend:

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

    r107326 r107327  
    300300ifdef VBOX_WITH_ADDITIONS_ISO.win.amd64
    301301 VBOX_PATH_ADDITIONS.win.amd64 = $(PATH_OUT_BASE)/win.amd64/$(KBUILD_TYPE)/bin/additions
    302  VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.amd64)
     302 ifeq ($(KBUILD_TARGET_ARCH),amd64)
     303  VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.amd64)
     304 endif
    303305 GUESTADDITIONS_FILESPEC.win.amd64 = \
    304306        VBoxWindowsAdditions-amd64.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxWindowsAdditions-amd64.exe
     
    311313ifdef VBOX_WITH_ADDITIONS_ISO.win.x86
    312314 VBOX_PATH_ADDITIONS.win.x86 = $(PATH_OUT_BASE)/win.x86/$(KBUILD_TYPE)/bin/additions
    313  VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.x86)
     315 ifeq ($(KBUILD_TARGET_ARCH),x86)
     316  VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.x86)
     317 endif
    314318 GUESTADDITIONS_FILESPEC.win.x86 = \
    315319        VBoxWindowsAdditions-x86.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxWindowsAdditions-x86.exe \
     
    327331ifdef VBOX_WITH_ADDITIONS_ISO.win.arm64
    328332 VBOX_PATH_ADDITIONS.win.arm64 = $(PATH_OUT_BASE)/win.arm64/$(KBUILD_TYPE)/bin/additions
    329  VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.arm64)
     333 ifeq ($(KBUILD_TARGET_ARCH),arm64)
     334  VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.arm64)
     335 endif
    330336 GUESTADDITIONS_FILESPEC.win.arm64 = \
    331337        VBoxWindowsAdditions-arm64.exe=$(VBOX_PATH_ADDITIONS.win.arm64)/VBoxWindowsAdditions-arm64.exe
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