VirtualBox

Changeset 72305 in vbox


Ignore:
Timestamp:
May 23, 2018 4:01:22 PM (7 years ago)
Author:
vboxsync
Message:

Installer/Linux: bugref:9049: Support for split GUI functionality.

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

Legend:

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

    r69111 r72305  
    254254        VBoxKeyboard.so \
    255255        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) \
    257258        $(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
    258263 VBOX_LNX_NO_STRIP += \
    259264        virtualbox.desktop \
     
    403408                -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \
    404409                -e "s;_HARDENED_;$(VBOX_WITH_HARDENING);g" \
     410                -e "s;_GUI_WITH_SHARED_LIBRARY_;$(VBOX_GUI_WITH_SHARED_LIBRARY);g" \
    405411                -e "s;_BUILDTYPE_;$(KBUILD_TYPE);g" \
    406412                -e "s;_USERNAME_;$(USERNAME);g" \
  • trunk/src/VBox/Installer/linux/install.sh

    r69500 r72305  
    3434ARCH="_ARCH_"
    3535HARDENED="_HARDENED_"
     36GUI_WITH_SHARED_LIBRARY="_GUI_WITH_SHARED_LIBRARY_"
    3637# The "BUILD_" prefixes prevent the variables from being overwritten when we
    3738# read the configuration from the previous installation.
     
    278279    #                 and finally make sure the directory is only writable by the user (paranoid).
    279280    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
    281286        test -e $INSTALLATION_DIR/VBoxSDL        && chmod 4511 $INSTALLATION_DIR/VBoxSDL
    282287        test -e $INSTALLATION_DIR/VBoxHeadless   && chmod 4511 $INSTALLATION_DIR/VBoxHeadless
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