diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-07-26 06:10:59 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-07-26 06:10:59 -0300 |
commit | b69f8b3ddb4a7e87c60480ae5f4f62de4b30b41d (patch) | |
tree | 1c426d26387feabd57dd19c4e80e17596fbaa446 /libre/virtualbox-libre-modules/virtualbox-libre-modules.install | |
parent | 2c8690dc0e97a65501c60fd41836c19328c3c0cc (diff) | |
download | abslibre-b69f8b3ddb4a7e87c60480ae5f4f62de4b30b41d.tar.gz abslibre-b69f8b3ddb4a7e87c60480ae5f4f62de4b30b41d.tar.bz2 abslibre-b69f8b3ddb4a7e87c60480ae5f4f62de4b30b41d.zip |
virtualbox-libre-modules: new patches, icons, etc
Diffstat (limited to 'libre/virtualbox-libre-modules/virtualbox-libre-modules.install')
-rw-r--r-- | libre/virtualbox-libre-modules/virtualbox-libre-modules.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libre/virtualbox-libre-modules/virtualbox-libre-modules.install b/libre/virtualbox-libre-modules/virtualbox-libre-modules.install new file mode 100644 index 000000000..3f2a12a3f --- /dev/null +++ b/libre/virtualbox-libre-modules/virtualbox-libre-modules.install @@ -0,0 +1,19 @@ +post_install() { +/bin/cat << EOF +===> You must load vboxdrv module before starting VirtualBox: +===> # modprobe vboxdrv +EOF + EXTRAMODULES='extramodules-3.5-LIBRE' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} + +post_upgrade() { + EXTRAMODULES='extramodules-3.5-LIBRE' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) + echo 'In order to use the new version, reload all virtualbox modules manually.' +} + +post_remove() { + EXTRAMODULES='extramodules-3.5-LIBRE' + depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) +} |