VirtualBox

Changeset 60286 in vbox


Ignore:
Timestamp:
Apr 1, 2016 10:28:09 AM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: make sure that we really load the kernel graphics driver when it is needed and simplify the installer/loader logic slightly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh

    r60285 r60286  
    368368                vboxvideo_src=""
    369369            }
    370             # Do not install if we can use the kernel driver.
    371             case `uname -r` in
    372                 1.* | 2.* | 3.[0-9].* | 3.10.* ) ;;
    373                 * ) vboxvideo_src="" ;;
    374             esac
    375370            ;;
    376371        * )
    377372            # For anything else, assume kernel drivers.
    378373            dox11config=""
    379             $MODPROBE vboxvideo ||
    380                 echo "Warning: failed to set up the X Window System display integration."
    381374            ;;
    382375    esac
     376    if $MODPROBE vboxvideo; then
     377        # Do not install if we can use the kernel driver.
     378        rm -f "$modules_dir/drivers/vboxvideo_drv.so"
     379        vboxvideo_src=""
     380        dox11config=""
     381    fi
    383382    test -n "${dox11config}" &&
    384383        begin "Installing $xserver_version modules"
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