Changeset 11725 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Aug 27, 2008 10:21:47 PM (16 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r11721 r11725 70 70 VBoxREM.so \ 71 71 VBoxRT.so \ 72 $(if $(VBOX_WITH_VBOXSDL),VBoxSDL ,) \72 $(if $(VBOX_WITH_VBOXSDL),VBoxSDL $(if $(VBOX_WITH_HARDENING),VBoxSDL.so),) \ 73 73 VBoxSettings.so \ 74 74 VBoxSVC \ … … 113 113 LINUXSTRIPBIN += \ 114 114 VBoxKeyboard.so \ 115 VirtualBox 115 VirtualBox \ 116 $(if $(VBOX_WITH_HARDENING),VirtualBox.so) 116 117 LINUXNOSTRIP += \ 117 118 $(if $(VBOX_WITH_QT4_SUN),$(notdir $(wildcard $(PATH_BIN)/libVBox*)),) \ … … 173 174 ifdef VBOX_WITH_HEADLESS 174 175 LINUXSTRIPBIN += \ 175 VBoxHeadless 176 VBoxHeadless \ 177 $(if $(VBOX_WITH_HARDENING),VBoxHeadless.so) 176 178 endif 177 179 ifdef VBOX_WITH_WEBSERVICES … … 200 202 $(call MSG_TOOL,makeself,,$@) 201 203 $(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" \ 205 209 < install.sh > $(PATH_TARGET)/install/install.sh 206 210 $(QUIET)chmod 0744 $(PATH_TARGET)/install/install.sh … … 268 272 $(PATH_BIN)/VBoxAddIF.sh: VBoxAddIF.sh $(VBOX_VERSION_STAMP) 269 273 $(call MSG_GENERATE,,$@,$<) 270 $(QUIET)$(SED) -e "s;_VERSION_;$ {VBOX_VERSION_STRING};g" $< > $@274 $(QUIET)$(SED) -e "s;_VERSION_;$(VBOX_VERSION_STRING);g" $< > $@ 271 275 $(QUIET)chmod 0755 $@ 272 276 … … 281 285 # Note: The -m <mode> feature of kmk_builtin_install does not work together with fakeroot! 282 286 # 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. 283 288 $(foreach f,$(LINUXSTRIPBIN),$(PATH_TARGET)/archive/$(f)): \ 284 289 $(PATH_TARGET)/archive/% : $(PATH_BIN)/% \ -
trunk/src/VBox/Installer/linux/VBox.sh
r10350 r11725 53 53 You will not be able to start VMs until this problem is fixed. 54 54 EOF 55 elif [ ! -w /dev/vboxdrv ]; then56 if [ "`id | grep vboxusers`" = "" ]; then57 cat << EOF58 WARNING: You are not a member of the "vboxusers" group. Please add yourself59 to this group before starting VirtualBox.60 61 You will not be able to start VMs until this problem is fixed.62 EOF63 else64 cat << EOF65 WARNING: /dev/vboxdrv not writable for some reason. If you recently added the66 current user to the vboxusers group then you have to logout and67 re-login to take the change effect.68 69 You will not be able to start VMs until this problem is fixed.70 EOF71 fi72 55 fi 73 56 … … 79 62 EOF 80 63 fi 81 82 export LD_LIBRARY_PATH="$INSTALL_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"83 64 84 65 SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
Note:
See TracChangeset
for help on using the changeset viewer.