summaryrefslogtreecommitdiff
path: root/community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install')
-rw-r--r--community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install b/community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install
new file mode 100644
index 000000000..07ecf7311
--- /dev/null
+++ b/community-testing/virtualbox-modules-lts/virtualbox-host-modules-lts.install
@@ -0,0 +1,18 @@
+EXTRAMODULES='extramodules-3.0-lts'
+
+post_install() {
+cat << EOF
+===> You must load vboxdrv module before starting VirtualBox:
+===> # modprobe vboxdrv
+EOF
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ echo 'In order to use the new version, reload all virtualbox modules manually.'
+}
+
+post_remove() {
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}