diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-03 20:34:57 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-03 20:34:57 -0300 |
commit | ad81cb19245ef3faf8aeedd1eab514a32235b2b4 (patch) | |
tree | e486f4f6a01449c7d96a1772441f4aea8afc56fb /libre/virtualbox-modules-lts/virtualbox-modules-lts.install | |
parent | 215e116103d134346fd7f52768bbc9576df3e5e0 (diff) | |
download | abslibre-ad81cb19245ef3faf8aeedd1eab514a32235b2b4.tar.gz abslibre-ad81cb19245ef3faf8aeedd1eab514a32235b2b4.tar.bz2 abslibre-ad81cb19245ef3faf8aeedd1eab514a32235b2b4.zip |
newpkg: virtualbox-modules-lts
Diffstat (limited to 'libre/virtualbox-modules-lts/virtualbox-modules-lts.install')
-rw-r--r-- | libre/virtualbox-modules-lts/virtualbox-modules-lts.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libre/virtualbox-modules-lts/virtualbox-modules-lts.install b/libre/virtualbox-modules-lts/virtualbox-modules-lts.install new file mode 100644 index 000000000..014fa0b88 --- /dev/null +++ b/libre/virtualbox-modules-lts/virtualbox-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 /lib/modules/$EXTRAMODULES/version) +} + +post_upgrade() { + depmod $(cat /lib/modules/$EXTRAMODULES/version) + echo 'In order to use the new version, reload all virtualbox modules manually.' +} + +post_remove() { + depmod $(cat /lib/modules/$EXTRAMODULES/version) +} |