Changeset 72305 in vbox
- Timestamp:
- May 23, 2018 4:01:22 PM (7 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r69111 r72305 254 254 VBoxKeyboard.so \ 255 255 VirtualBox \ 256 $(if $(VBOX_WITH_HARDENING),VirtualBox.so) \ 256 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VirtualBoxVM) \ 257 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBoxGlobal.so) \ 257 258 $(if $(VBOX_WITH_DEBUGGER_GUI),VBoxDbg.so DbgPlugInDiggers.so) 259 ifdef VBOX_WITH_HARDENING 260 VBOX_LNX_STRIP_BIN += \ 261 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VirtualBoxVM.so,VirtualBox.so) 262 endif 258 263 VBOX_LNX_NO_STRIP += \ 259 264 virtualbox.desktop \ … … 403 408 -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \ 404 409 -e "s;_HARDENED_;$(VBOX_WITH_HARDENING);g" \ 410 -e "s;_GUI_WITH_SHARED_LIBRARY_;$(VBOX_GUI_WITH_SHARED_LIBRARY);g" \ 405 411 -e "s;_BUILDTYPE_;$(KBUILD_TYPE);g" \ 406 412 -e "s;_USERNAME_;$(USERNAME);g" \ -
trunk/src/VBox/Installer/linux/install.sh
r69500 r72305 34 34 ARCH="_ARCH_" 35 35 HARDENED="_HARDENED_" 36 GUI_WITH_SHARED_LIBRARY="_GUI_WITH_SHARED_LIBRARY_" 36 37 # The "BUILD_" prefixes prevent the variables from being overwritten when we 37 38 # read the configuration from the previous installation. … … 278 279 # and finally make sure the directory is only writable by the user (paranoid). 279 280 if [ -n "$HARDENED" ]; then 280 test -e $INSTALLATION_DIR/VirtualBox && chmod 4511 $INSTALLATION_DIR/VirtualBox 281 if [ -n "$GUI_WITH_SHARED_LIBRARY" ]; then 282 test -e $INSTALLATION_DIR/VirtualBoxVM && chmod 4511 $INSTALLATION_DIR/VirtualBoxVM 283 else 284 test -e $INSTALLATION_DIR/VirtualBox && chmod 4511 $INSTALLATION_DIR/VirtualBox 285 fi 281 286 test -e $INSTALLATION_DIR/VBoxSDL && chmod 4511 $INSTALLATION_DIR/VBoxSDL 282 287 test -e $INSTALLATION_DIR/VBoxHeadless && chmod 4511 $INSTALLATION_DIR/VBoxHeadless
Note:
See TracChangeset
for help on using the changeset viewer.