VirtualBox

Changeset 11725 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Aug 27, 2008 10:21:47 PM (16 years ago)
Author:
vboxsync
Message:

#3076: Merged in the branch with the alternate driver authentication method. (34468:HEAD)

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

Legend:

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

    r11721 r11725  
    7070        VBoxREM.so \
    7171        VBoxRT.so \
    72         $(if $(VBOX_WITH_VBOXSDL),VBoxSDL,) \
     72        $(if $(VBOX_WITH_VBOXSDL),VBoxSDL $(if $(VBOX_WITH_HARDENING),VBoxSDL.so),) \
    7373        VBoxSettings.so \
    7474        VBoxSVC \
     
    113113  LINUXSTRIPBIN += \
    114114        VBoxKeyboard.so \
    115         VirtualBox
     115        VirtualBox \
     116        $(if $(VBOX_WITH_HARDENING),VirtualBox.so)
    116117  LINUXNOSTRIP += \
    117118        $(if $(VBOX_WITH_QT4_SUN),$(notdir $(wildcard $(PATH_BIN)/libVBox*)),) \
     
    173174ifdef VBOX_WITH_HEADLESS
    174175 LINUXSTRIPBIN += \
    175         VBoxHeadless
     176        VBoxHeadless \
     177        $(if $(VBOX_WITH_HARDENING),VBoxHeadless.so)
    176178endif
    177179ifdef VBOX_WITH_WEBSERVICES
     
    200202        $(call MSG_TOOL,makeself,,$@)
    201203        $(QUIET)$(RM) -f $(wildcard $(PATH_BIN)/VirtualBox-*.run)
    202         $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" \
    203                 -e "s;_BUILD_;$(shell date);g" \
    204                 -e "s;_ARCH_;${KBUILD_TARGET_ARCH};g" \
     204        $(QUIET)$(SED) \
     205                -e "s;_VERSION_;$(VBOX_VERSION_STRING);g" \
     206                -e "s;_BUILD_;$(date-utc );g" \
     207                -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \
     208                -e "s;_HARDENED_;$(VBOX_WITH_HARDENING);g" \
    205209                < install.sh > $(PATH_TARGET)/install/install.sh
    206210        $(QUIET)chmod 0744 $(PATH_TARGET)/install/install.sh
     
    268272$(PATH_BIN)/VBoxAddIF.sh: VBoxAddIF.sh $(VBOX_VERSION_STAMP)
    269273        $(call MSG_GENERATE,,$@,$<)
    270         $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" $< > $@
     274        $(QUIET)$(SED) -e "s;_VERSION_;$(VBOX_VERSION_STRING);g" $< > $@
    271275        $(QUIET)chmod 0755 $@
    272276
     
    281285# Note: The -m <mode> feature of kmk_builtin_install does not work together with fakeroot!
    282286# Note: $(INSTALL) -s is currently not reliable when used in parallel builds. Fixed in 0.1.1.
     287# Update: Both these issues has been resolved.
    283288$(foreach f,$(LINUXSTRIPBIN),$(PATH_TARGET)/archive/$(f)): \
    284289                $(PATH_TARGET)/archive/% : $(PATH_BIN)/% \
  • trunk/src/VBox/Installer/linux/VBox.sh

    r10350 r11725  
    5353         You will not be able to start VMs until this problem is fixed.
    5454EOF
    55 elif [ ! -w /dev/vboxdrv ]; then
    56     if [ "`id | grep vboxusers`" = "" ]; then
    57         cat << EOF
    58 WARNING: You are not a member of the "vboxusers" group.  Please add yourself
    59          to this group before starting VirtualBox.
    60 
    61          You will not be able to start VMs until this problem is fixed.
    62 EOF
    63     else
    64         cat << EOF
    65 WARNING: /dev/vboxdrv not writable for some reason. If you recently added the
    66          current user to the vboxusers group then you have to logout and
    67          re-login to take the change effect.
    68 
    69          You will not be able to start VMs until this problem is fixed.
    70 EOF
    71     fi
    7255fi
    7356
     
    7962EOF
    8063fi
    81 
    82 export LD_LIBRARY_PATH="$INSTALL_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
    8364
    8465SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
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