VirtualBox

Changeset 88980 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
May 11, 2021 1:20:17 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144318
Message:

Installer/darwin: Avoid spaces causing trouble in the injected entitlement XML (before app ID and team ID), and include embedded.provisionprofile into VirtualBoxVM.app which currently is needing the entitlements because it is an VM process.

File:
1 edited

Legend:

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

    r88865 r88980  
    575575$(2): $(1) $$(VBOX_DARWIN_INST_DEP_ON_MAKEFILE) | $$$$(dir $$$$@)
    576576        $$(QUIET)$$(SED) \
    577                 -e '/^<dict>$$$$/a \    <key>com.apple.application-identifier</key>\n    <string>$(4).$(3)</string>\n    <key>com.apple.developer.team-identifier</key>\n    <string>$(4)</string>' \
     577                -e '/^<dict>$$$$/a \    <key>com.apple.application-identifier</key>\n    <string>$(strip $(4)).$(strip $(3))</string>\n    <key>com.apple.developer.team-identifier</key>\n    <string>$(strip $(4))</string>' \
    578578                --output $$@ $$<
    579579endef
     
    582582 ifdef VBOX_VIRTUALBOX_APP_ID
    583583  VBOX_VIRTUALBOX_APP_ENTITLEMENTS := $(VBOX_PATH_PACK_TMP)/SUPR3HardenedEntitlements.plist
    584 $(evalcall2 def_vbox_entitlement_add_app_and_team_id, $(PATH_ROOT)/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist, $(VBOX_VIRTUALBOX_APP_ENTITLEMENTS), $(VBOX_VIRTUALBOX_APP_ID), $(VBOX_PROVISIONPROFILE_TEAM_ID))
     584$(evalcall2 def_vbox_entitlement_add_app_and_team_id,$(PATH_ROOT)/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist,$(VBOX_VIRTUALBOX_APP_ENTITLEMENTS),$(VBOX_VIRTUALBOX_APP_ID),$(VBOX_PROVISIONPROFILE_TEAM_ID))
    585585 endif
    586586
    587587 ifdef VBOX_VIRTUALBOXVM_APP_ID
    588588  VBOX_VIRTUALBOXVM_APP_ENTITLEMENTS := $(VBOX_PATH_PACK_TMP)/SUPR3HardenedEntitlementsVM.plist
    589 $(evalcall2 def_vbox_entitlement_add_app_and_team_id, $(PATH_ROOT)/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlementsVM.plist, $(VBOX_VIRTUALBOXVM_APP_ENTITLEMENTS), $(VBOX_VIRTUALBOXVM_APP_ID), $(VBOX_PROVISIONPROFILE_TEAM_ID))
     589$(evalcall2 def_vbox_entitlement_add_app_and_team_id,$(PATH_ROOT)/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlementsVM.plist,$(VBOX_VIRTUALBOXVM_APP_ENTITLEMENTS),$(VBOX_VIRTUALBOXVM_APP_ID),$(VBOX_PROVISIONPROFILE_TEAM_ID))
    590590 endif
    591591endif
     
    815815                , $(NLTAB)$(call VBOX_SIGN_FILE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(file),org.virtualbox.app.$(tolower $(subst $(SP),,$(subst /,.,$(file))))) )
    816816
     817ifdef VBOX_PROVISIONPROFILE_TEAM_ID
     818#       $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox/$(VBOX_PROVISIONPROFILE_TEAM_ID).provisionprofile     $(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/VirtualBoxVM.app/Contents/embedded.provisionprofile
     819endif
    817820        $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/VirtualBoxVM.app,,$(if-expr defined(VBOX_WITH_MACOS_HARDENED_RUNTIME)\
    818821                ,--entitlements="$(VBOX_VIRTUALBOX_APP_ENTITLEMENTS)",))
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