VirtualBox

Changeset 42989 in vbox


Ignore:
Timestamp:
Aug 25, 2012 8:05:23 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80321
Message:

Signing fix.

File:
1 edited

Legend:

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

    r42987 r42989  
    761761                ,$(INSTALL) -m 0755 $(VBOX_PATH_DIST)/VirtualBox.app/Contents/$(prog)           $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(prog)-$(KBUILD_TARGET_ARCH)$(NLTAB))
    762762endif
    763         @# Create symlinks for all the binaries (corrected by postflight and the VirtualBox StartupItem to hardlinks).
    764 ifdef VBOX_WITH_COMBINED_PACKAGE
    765         $(foreach bin, $(VBOX_DI_VBAPP_PROGS) $(VBOX_DI_VBAPP_OTHER_BINS) \
    766                  ,$(LN) -s $(bin)-x86                                                           $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)$(NLTAB))
    767 else
    768         $(foreach bin, $(VBOX_DI_VBAPP_PROGS) $(VBOX_DI_VBAPP_OTHER_BINS) \
    769                  ,$(LN) -s $(bin)-$(KBUILD_TARGET_ARCH)                                         $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)$(NLTAB))
    770 endif
    771763#ifdef VBOX_WITH_HARDENING - disabled temporarily
    772764if 1
     
    799791endif
    800792        @# Signed the binaries and the application bundle.
    801         @# Note. We cannot sign the application binary here, since we switch to match the kernel bitness.
     793        @# Note #1 - We cannot sign the application binary here, since we switch to match the kernel bitness.
     794        @# Note #2 - Must sign -amd64/-x86 suffixed binaries without the suffix, or verification fails.
    802795ifdef VBOX_SIGNING_MODE
    803796        $(foreach qtmod, $(VBOX_QT4_MOD_NAMES) \
     
    815808                , $(foreach bin, $(VBOX_DI_VBAPP_PROGS) \
    816809                , \
    817                $(NLTAB)$(MV) -- $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin) $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)-tmp \
    818                $(NLTAB)$(LN) -- $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)-$(arch) $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin) \
     810               $(NLTAB)$(MV) -- $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)-$(arch) $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin) \
    819811                $(NLTAB)$(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin),org.virtualbox.app.macos.$(notdir $(bin))) \
    820                $(NLTAB)$(RM) -- $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin) \
    821                $(NLTAB)$(MV) -- $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)-tmp $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin) \
     812               $(NLTAB)$(MV) -- $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin) $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)-$(arch) \
    822813                ))
    823814 if 0 # requires codesign+framworks from Lion or later. Snow Leopard codesign says object file format invalid or unsuitable.
Note: See TracChangeset for help on using the changeset viewer.

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