VirtualBox

Changeset 43727 in vbox


Ignore:
Timestamp:
Oct 24, 2012 2:13:34 PM (12 years ago)
Author:
vboxsync
Message:

Installer/linux: do not report an error if DKMS is simply not installed.

File:
1 edited

Legend:

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

    r43365 r43727  
    323323        succ_msg
    324324    fi
    325     begin_msg "Trying to register the VirtualBox kernel modules using DKMS"
    326     if ! $DODKMS install vboxhost $INSTALL_VER >> $LOG; then
    327       fail_msg "Failed, trying without DKMS"
     325    DKMS=`which dkms 2>/dev/null`
     326    if [ -n "$DKMS" ]; then
     327      begin_msg "Trying to register the VirtualBox kernel modules using DKMS"
     328      if ! $DODKMS install vboxhost $INSTALL_VER >> $LOG; then
     329        fail_msg "Failed, trying without DKMS"
     330        DKMS=""
     331      fi
     332    fi
     333    if [ -z "$DKMS" ]; then
    328334      begin_msg "Recompiling VirtualBox kernel modules"
    329335      if ! $BUILDINTMP \
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