VirtualBox

Changeset 59883 in vbox


Ignore:
Timestamp:
Mar 1, 2016 11:23:08 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105786
Message:

bugref:8270: improve Linux .run installer to give hints about trouble compiling vboxdrv: build the kernel modules manually instead of just letting them be built (possibly in the background) by the init system, so that we can check success or failure explicitly.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/install.sh

    r59871 r59883  
    371371
    372372    info ""
    373     if test -n "${START_SERVICES}" || lsmod | grep -q vboxdrv
    374     then
    375         info "VirtualBox has been installed successfully."
    376     else
    377         info "VirtualBox has been installed successfully, but the kernel module could not"
    378         info "be built.  When you have fixed the problems preventing this, execute"
    379         info "  /sbin/vboxconfig"
    380         info "as administrator to build it."
    381     fi
     373    info "VirtualBox has been installed successfully."
    382374    info ""
    383375    info "You will find useful information about using VirtualBox in the user manual"
  • trunk/src/VBox/Installer/linux/postinst-common.sh

    r59426 r59883  
    9898test -n "${START}" &&
    9999{
     100    if ! "${MY_PATH}/vboxdrv.sh" setup; then
     101        "${MY_PATH}/check_module_dependencies.sh" >&2
     102        echo >&2
     103        echo "There were problems setting up VirtualBox.  To re-start the set-up process, run" >&2
     104        echo "  /sbin/vboxconfig" >&2
     105        echo "as root." >&2
     106    fi
    100107    start_init_script vboxdrv
    101108    start_init_script vboxballoonctrl-service
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r58672 r59883  
    108108{
    109109    fail_msg "$1"
    110     exit 0
     110    exit 1
    111111}
    112112
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette