VirtualBox

Changeset 39334 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Nov 16, 2011 3:21:10 PM (13 years ago)
Author:
vboxsync
Message:

Installers/linux: restore debug logging in kernel modules (host).

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

Legend:

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

    r39223 r39334  
    366366                -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \
    367367                -e "s;_HARDENED_;$(VBOX_WITH_HARDENING);g" \
     368                -e "s;_BUILDTYPE_;$(KBUILD_TYPE);g" \
     369                -e "s;_USERNAME_;$(USERNAME);g" \
    368370                -e "s;_PYTHON_;$(VBOX_WITH_PYTHON);g" \
    369371                -e '/#include installer-common.sh/ {' \
  • trunk/src/VBox/Installer/linux/install.sh

    r39325 r39334  
    2828ARCH="_ARCH_"
    2929HARDENED="_HARDENED_"
     30# The "BUILD_" prefixes prevent the variables from being overwritten when we
     31# read the configuration from the previous installation.
     32BUILD_BUILDTYPE="_BUILDTYPE_"
     33BUILD_USERNAME="_USERNAME_"
    3034CONFIG_DIR="/etc/vbox"
    3135CONFIG="vbox.cfg"
     
    444448    echo "INSTALL_REV='$SVNREV'" >> $CONFIG_DIR/$CONFIG
    445449    echo "# Build type and user name for logging purposes" >> $CONFIG_DIR/$CONFIG
    446     echo "BUILD_TYPE='$BUILD_TYPE'" >> $CONFIG_DIR/$CONFIG
    447     echo "USERNAME='$USERNAME'" >> $CONFIG_DIR/$CONFIG
     450    echo "BUILD_TYPE='$BUILD_BUILDTYPE'" >> $CONFIG_DIR/$CONFIG
     451    echo "USERNAME='$BUILD_USERNAME'" >> $CONFIG_DIR/$CONFIG
    448452
    449453    # Make kernel module
  • trunk/src/VBox/Installer/linux/vboxdrv.sh.in

    r39333 r39334  
    4040[ -f /lib/lsb/init-functions ] || NOLSB=yes
    4141[ -f /etc/vbox/vbox.cfg ] && . /etc/vbox/vbox.cfg
     42export BUILD_TYPE
     43export USERNAME
     44export USER=$USERNAME
    4245
    4346if [ -n "$INSTALL_DIR" ]; then
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