[vbox-dev] Linux Guest Additions Installer Patch (depmod overrides)

Mark Furneaux markfurneaux at gmail.com
Wed Nov 16 23:56:53 UTC 2016

This patch fixes the override rules for depmod so that user-installed
kernel modules are loaded instead of the ones provided by many
distributions. With the current code, only the last rule gets applied since
the file is being rewritten instead of appended to.

This patch is provided under the MIT licence.
Author: Mark Furneaux

Index: src/VBox/Additions/linux/installer/vboxadd.sh
--- src/VBox/Additions/linux/installer/vboxadd.sh (revision 64628)
+++ src/VBox/Additions/linux/installer/vboxadd.sh (working copy)
@@ -334,8 +334,8 @@
         info "Look at $LOG to find out what went wrong"
     echo "override vboxguest * misc" >
-    echo "override vboxsf * misc" > /etc/depmod.d/vboxvideo-upstream.conf
-    echo "override vboxvideo * misc" >
+    echo "override vboxsf * misc" >> /etc/depmod.d/vboxvideo-upstream.conf
+    echo "override vboxvideo * misc" >>
     return 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20161116/a9976ebb/attachment.html>

More information about the vbox-dev mailing list