summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules-lts
diff options
context:
space:
mode:
Diffstat (limited to 'libre/virtualbox-libre-modules-lts')
-rw-r--r--libre/virtualbox-libre-modules-lts/PKGBUILD2
-rw-r--r--libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install15
-rw-r--r--libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install17
3 files changed, 22 insertions, 12 deletions
diff --git a/libre/virtualbox-libre-modules-lts/PKGBUILD b/libre/virtualbox-libre-modules-lts/PKGBUILD
index 07cb8a71e..1d985f296 100644
--- a/libre/virtualbox-libre-modules-lts/PKGBUILD
+++ b/libre/virtualbox-libre-modules-lts/PKGBUILD
@@ -8,7 +8,7 @@
pkgbase=virtualbox-libre-modules-lts
pkgname=('virtualbox-libre-host-modules-lts' 'virtualbox-libre-guest-modules-lts')
pkgver=4.2.16
-pkgrel=1
+pkgrel=1.1
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
diff --git a/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install b/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install
index 54a052390..923bd68e3 100644
--- a/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install
+++ b/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install
@@ -1,16 +1,21 @@
-EXTRAMODULES='extramodules-3.0-LIBRE-LTS'
+_depmod() {
+ EXTRAMODULES='extramodules-3.0-LIBRE-LTS'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
post_install() {
-cat << EOF
+ cat << EOF
===> You may want to load vboxguest, vboxsf and vboxvideo
EOF
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ _depmod
}
post_upgrade() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ _depmod
}
post_remove() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ _depmod
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install b/libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install
index 4503996e8..97212dba1 100644
--- a/libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install
+++ b/libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install
@@ -1,18 +1,23 @@
-EXTRAMODULES='extramodules-3.0-LIBRE-LTS'
+_depmod() {
+ EXTRAMODULES='extramodules-3.0-LIBRE-LTS'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
post_install() {
-cat << EOF
+ cat << EOF
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
EOF
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ _depmod
}
post_upgrade() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
- echo 'In order to use the new version, reload all virtualbox modules manually.'
+ _depmod
+ echo 'In order to use the new version, reload all virtualbox modules manually.'
}
post_remove() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ _depmod
}
+
+# vim:set ts=2 sw=2 et: