From 9d8e461bb8a66c4ab5c4e4091f008f4562a256fe Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 26 Jul 2012 15:00:25 -0300 Subject: virtualbox-libre-modules-lts: fixing issues and adding install files --- .../virtualbox-libre-modules-lts.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install (limited to 'libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install') 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) +} -- cgit v1.2.3