Changeset 39334 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Nov 16, 2011 3:21:10 PM (13 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r39223 r39334 366 366 -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \ 367 367 -e "s;_HARDENED_;$(VBOX_WITH_HARDENING);g" \ 368 -e "s;_BUILDTYPE_;$(KBUILD_TYPE);g" \ 369 -e "s;_USERNAME_;$(USERNAME);g" \ 368 370 -e "s;_PYTHON_;$(VBOX_WITH_PYTHON);g" \ 369 371 -e '/#include installer-common.sh/ {' \ -
trunk/src/VBox/Installer/linux/install.sh
r39325 r39334 28 28 ARCH="_ARCH_" 29 29 HARDENED="_HARDENED_" 30 # The "BUILD_" prefixes prevent the variables from being overwritten when we 31 # read the configuration from the previous installation. 32 BUILD_BUILDTYPE="_BUILDTYPE_" 33 BUILD_USERNAME="_USERNAME_" 30 34 CONFIG_DIR="/etc/vbox" 31 35 CONFIG="vbox.cfg" … … 444 448 echo "INSTALL_REV='$SVNREV'" >> $CONFIG_DIR/$CONFIG 445 449 echo "# Build type and user name for logging purposes" >> $CONFIG_DIR/$CONFIG 446 echo "BUILD_TYPE='$BUILD_ TYPE'" >> $CONFIG_DIR/$CONFIG447 echo "USERNAME='$ USERNAME'" >> $CONFIG_DIR/$CONFIG450 echo "BUILD_TYPE='$BUILD_BUILDTYPE'" >> $CONFIG_DIR/$CONFIG 451 echo "USERNAME='$BUILD_USERNAME'" >> $CONFIG_DIR/$CONFIG 448 452 449 453 # Make kernel module -
trunk/src/VBox/Installer/linux/vboxdrv.sh.in
r39333 r39334 40 40 [ -f /lib/lsb/init-functions ] || NOLSB=yes 41 41 [ -f /etc/vbox/vbox.cfg ] && . /etc/vbox/vbox.cfg 42 export BUILD_TYPE 43 export USERNAME 44 export USER=$USERNAME 42 45 43 46 if [ -n "$INSTALL_DIR" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.