summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-08-01 21:36:53 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-08-01 21:36:53 -0300
commit7e00045a605d554cdf361c2794b8b600ed940fdb (patch)
tree539341434b5684275e1a90b6939721ff74312ed1 /libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install
parent283ba6b5f63103403e4b908aa5c3d1b12eb6a689 (diff)
parent62a0b15275fa1f33b1f1108e3908d1875c139a77 (diff)
downloadabslibre-7e00045a605d554cdf361c2794b8b600ed940fdb.tar.gz
abslibre-7e00045a605d554cdf361c2794b8b600ed940fdb.tar.bz2
abslibre-7e00045a605d554cdf361c2794b8b600ed940fdb.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Conflicts: libre/luxrays-libre/PKGBUILD
Diffstat (limited to 'libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install')
-rw-r--r--libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install b/libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install
new file mode 100644
index 000000000..5387563a6
--- /dev/null
+++ b/libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install
@@ -0,0 +1,18 @@
+EXTRAMODULES='extramodules-3.0-LIBRE-LTS'
+
+post_install() {
+/bin/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)
+}