summarylogtreecommitdiffstats
path: root/guest.install
diff options
context:
space:
mode:
authorsirlucjan2015-06-08 18:50:30 +0200
committersirlucjan2015-06-08 18:50:30 +0200
commit09e2587b7c5e3fea1e9b3671525e9b2de3c7e717 (patch)
treeb837b0a18c2bbed5e8e4396b260ff5f91c2cb670 /guest.install
downloadaur-09e2587b7c5e3fea1e9b3671525e9b2de3c7e717.tar.gz
4.3.28
Diffstat (limited to 'guest.install')
-rw-r--r--guest.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/guest.install b/guest.install
new file mode 100644
index 000000000000..8883293f7d26
--- /dev/null
+++ b/guest.install
@@ -0,0 +1,19 @@
+post_install() {
+cat << EOF
+===> You must load vboxdrv module before starting VirtualBox:
+===> # modprobe vboxdrv
+EOF
+ EXTRAMODULES='extramodules-4.0-lqx'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+ EXTRAMODULES='extramodules-4.0-lqx'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ echo 'In order to use the new version, reload all virtualbox modules manually.'
+}
+
+post_remove() {
+ EXTRAMODULES='extramodules-4.0-lqx'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}