VirtualBox

Changeset 72282 in vbox for trunk/src


Ignore:
Timestamp:
May 22, 2018 9:53:39 AM (7 years ago)
Author:
vboxsync
Message:

Installer/Darwin: bugref:9049: postflight fix for split gui.

Location:
trunk/src/VBox/Installer/darwin
Files:
2 edited

Legend:

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

    r72277 r72282  
    797797        @# Copy the resources.
    798798        $(INSTALL) -m 0755 $(VBOX_PATH_DI_SRC)/VirtualBox/preflight                         $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/
    799 ifdef VBOX_WITH_HARDENING
     799if defined(VBOX_WITH_HARDENING) && !defined(VBOX_GUI_WITH_SHARED_LIBRARY)
    800800        $(INSTALL) -m 0755 $(VBOX_PATH_DI_SRC)/VirtualBox/postflight                        $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/
    801801else
    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
    803806        $(CHMOD) 0755 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight
    804807endif
  • trunk/src/VBox/Installer/darwin/VirtualBox/postflight

    r72281 r72282  
    9191#
    9292SET_UID_BINARIES="VBoxNetAdpCtl"
    93 SET_UID_BINARIES="${SET_UID_BINARIES} VBoxHeadless VirtualBox VirtualBoxVM VBoxNetDHCP VBoxNetNAT" # WITH_HARDENING
     93SET_UID_BINARIES="${SET_UID_BINARIES} VBoxHeadless VirtualBoxVM VBoxNetDHCP VBoxNetNAT" # WITH_HARDENING
     94SET_UID_BINARIES="${SET_UID_BINARIES} VirtualBox"                                       # WITH_HARDENING WITH_SHARED_LIBRARY
    9495for bin in ${SET_UID_BINARIES}; do
    9596    chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${bin}"
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