VirtualBox

Ignore:
Timestamp:
Jun 28, 2017 9:01:05 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116440
Message:

Additions/linux: bugref:8869: blacklist the vboxvideo kernel module for OL6

File:
1 edited

Legend:

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

    r64525 r67658  
    4646# Version of Redhat or Fedora installed.  Needed for setting up selinux policy.
    4747redhat_release=`cat /etc/redhat-release 2> /dev/null`
     48# Version of OL installed.  Needed for blacklisting vboxvideo.
     49oracle_release=`cat /etc/oracle-release 2> /dev/null`
    4850# All the different possible locations for XFree86/X.Org configuration files
    4951# - how many of these have ever been used?
     
    334336    case "${x_version}" in
    335337    4.* | 6.* | 7.* | 1.?.* | 1.1[0-6].* )
    336         echo "blacklist vboxvideo" > /etc/modprobe.d/blacklist-vboxvideo.conf
     338        blacklist_vboxvideo="yes"
    337339        ;;
    338340    *)
     
    346348        ;;
    347349    esac
     350    case "$oracle_release" in
     351        Oracle*release\ 6.* )
     352            # relevant for OL6/UEK4 but cannot hurt for other kernels
     353            blacklist_vboxvideo="yes"
     354            ;;
     355    esac
     356    test -n "${blacklist_vboxvideo}" &&
     357        echo "blacklist vboxvideo" > /etc/modprobe.d/blacklist-vboxvideo.conf
    348358    test -n "${dox11config}" &&
    349359        echo "Installing $xserver_version modules" >&2
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