VirtualBox

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


Ignore:
Timestamp:
Jul 10, 2023 1:54:55 PM (19 months ago)
Author:
vboxsync
Message:

Installer/darwin, Additions/darwin/Installer: Make sure the KEXT bundle signature is readable, even if code signing creates it as non-world readable (which before meant that pkgbuild silently left it out, because user vbox can't read such files owned by root:wheel).

File:
1 edited

Legend:

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

    r99029 r100459  
    269269                $(NLTAB)$(INSTALL) -m 0755 $(VBOX_PATH_DIST)/additions/$(kext).kext/Contents/MacOS/$(kext) $(VBOX_PATH_PACK_TMP)/VBoxGuestAdditionsKEXTs.pkg.root/Library/Extensions/$(kext).kext/Contents/MacOS/)
    270270endif
    271         @# Signed the kext bundles.
     271        @# Sign the kext bundles.
    272272ifdef VBOX_SIGNING_MODE
    273273        $(foreach kext,$(VBOX_ADD_DI_KEXTS), \
    274                 $(NLTAB)$(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_PACK_TMP)/VBoxGuestAdditionsKEXTs.pkg.root/Library/Extensions/$(kext).kext,) )
     274                $(NLTAB)$(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_PACK_TMP)/VBoxGuestAdditionsKEXTs.pkg.root/Library/Extensions/$(kext).kext,) \
     275                $(NLTAB)chmod a+r $(VBOX_PATH_PACK_TMP)/VBoxGuestAdditionsKEXTs.pkg.root/Library/Extensions/$(kext).kext/Contents/_CodeSignature/* )
    275276endif
    276277        @# Set the correct owners.
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