Changeset 57231 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Aug 7, 2015 1:36:22 AM (9 years ago)
- Location:
- trunk/src/VBox/Installer/darwin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/Makefile.kmk
r56621 r57231 746 746 @# Set the correct owner and set the set-user-ID-on-execution bit on the relevant executables. 747 747 sudo chown -R root:admin $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root 748 sudo chmod u+s $(VBOX_PATH_VBOX_APP_TMP)/Contents/MacOS/VBoxNetAdpCtl 748 749 ifdef VBOX_WITH_HARDENING 749 750 sudo chmod u+s \ 750 $(foreach bin,VBoxHeadless VirtualBox VirtualBoxVM VBoxNet AdpCtl VBoxNetDHCP VBoxNetNAT,\751 $(foreach bin,VBoxHeadless VirtualBox VirtualBoxVM VBoxNetDHCP VBoxNetNAT,\ 751 752 $(VBOX_PATH_VBOX_APP_TMP)/Contents/MacOS/$(bin)) 752 753 endif … … 764 765 @# Copy the resources. 765 766 $(INSTALL) -m 0755 $(VBOX_PATH_DI_SRC)/VirtualBox/preflight $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/ 767 ifdef VBOX_WITH_HARDENING 766 768 $(INSTALL) -m 0755 $(VBOX_PATH_DI_SRC)/VirtualBox/postflight $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/ 769 else 770 $(SED) -s '/WITH_HARDENING/d' -o $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight $(VBOX_PATH_DI_SRC)/VirtualBox/postflight 771 $(CHMOD) 0755 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight 772 endif 767 773 @# Build the package. 768 774 $(VBOX_PKGBUILD) \ -
trunk/src/VBox/Installer/darwin/VirtualBox/postflight
r54685 r57231 24 24 # Install the Python bindings 25 25 # 26 27 26 VBOX_INSTALL_PATH=/Applications/VirtualBox.app/Contents/MacOS 28 27 PYTHON="python python2.3 python2.5 python2.6 python2.7" … … 83 82 84 83 # 84 # Workaround for 10.11 beta 6 in which the set-uid bit isn't set by the installer. 85 # 86 SET_UID_BINARIES="VBoxNetAdpCtl" 87 SET_UID_BINARIES="${SET_UID_BINARIES} VBoxHeadless VirtualBox VirtualBoxVM VBoxNetDHCP VBoxNetNAT" # WITH_HARDENING 88 for bin in ${SET_UID_BINARIES}; do 89 chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${bin}" 90 done 91 92 # 85 93 # Correct the ownership of the directories in case there 86 94 # was an existing installation.
Note:
See TracChangeset
for help on using the changeset viewer.