VirtualBox

Changeset 67852 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Jul 7, 2017 1:34:33 PM (7 years ago)
Author:
vboxsync
Message:

bugref:8906: Additions/linux: kernel modules not always rebuild before reboot on Fedora kernel upgrade
Make sure vboxvideo is loaded when it is rebuilt at boot time.

Our Additions boot scripts load vboxvideo manually if it was previously
blacklisted. However, there is another case when it might not be loaded
automatically: when it has just been built at boot time. So load it
unconditionally if it is not blacklisted.

File:
1 edited

Legend:

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

    r67663 r67852  
    346346    if test -n "${blacklist_vboxvideo}"; then
    347347        echo "blacklist vboxvideo" > /etc/modprobe.d/blacklist-vboxvideo.conf
    348     elif test -f /etc/modprobe.d/blacklist-vboxvideo.conf; then
    349         rm -f /etc/modprobe.d/blacklist-vboxvideo.conf
     348    else
     349        test -f /etc/modprobe.d/blacklist-vboxvideo.conf &&
     350            rm -f /etc/modprobe.d/blacklist-vboxvideo.conf
    350351        # We do not want to load the driver if X.Org Server is already
    351352        # running, as without a driver the server will touch the hardware
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