- Timestamp:
- May 22, 2018 9:53:39 AM (7 years ago)
- Location:
- trunk/src/VBox/Installer/darwin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/Makefile.kmk
r72277 r72282 797 797 @# Copy the resources. 798 798 $(INSTALL) -m 0755 $(VBOX_PATH_DI_SRC)/VirtualBox/preflight $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/ 799 if def VBOX_WITH_HARDENING799 if defined(VBOX_WITH_HARDENING) && !defined(VBOX_GUI_WITH_SHARED_LIBRARY) 800 800 $(INSTALL) -m 0755 $(VBOX_PATH_DI_SRC)/VirtualBox/postflight $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/ 801 801 else 802 $(SED) -s '/WITH_HARDENING/d' -o $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight $(VBOX_PATH_DI_SRC)/VirtualBox/postflight 802 $(SED) $(if-expr !defined(VBOX_WITH_HARDENING),-e '/WITH_HARDENING/d',) \ 803 $(if-expr !defined(VBOX_GUI_WITH_SHARED_LIBRARY),-e '/WITH_SHARED_LIBRARY/d',) \ 804 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight \ 805 $(VBOX_PATH_DI_SRC)/VirtualBox/postflight 803 806 $(CHMOD) 0755 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight 804 807 endif -
trunk/src/VBox/Installer/darwin/VirtualBox/postflight
r72281 r72282 91 91 # 92 92 SET_UID_BINARIES="VBoxNetAdpCtl" 93 SET_UID_BINARIES="${SET_UID_BINARIES} VBoxHeadless VirtualBox VirtualBoxVM VBoxNetDHCP VBoxNetNAT" # WITH_HARDENING 93 SET_UID_BINARIES="${SET_UID_BINARIES} VBoxHeadless VirtualBoxVM VBoxNetDHCP VBoxNetNAT" # WITH_HARDENING 94 SET_UID_BINARIES="${SET_UID_BINARIES} VirtualBox" # WITH_HARDENING WITH_SHARED_LIBRARY 94 95 for bin in ${SET_UID_BINARIES}; do 95 96 chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${bin}"
Note:
See TracChangeset
for help on using the changeset viewer.