diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-07-15 12:50:21 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-07-15 12:50:21 -0300 |
commit | d6451859a3097970736574146474a3c605175b31 (patch) | |
tree | ea66d105d206c09067d83bdfc3340849913236c7 /libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install | |
parent | a8fda0029cf05c750fa2f1d851e5029dcd684de4 (diff) | |
download | abslibre-d6451859a3097970736574146474a3c605175b31.tar.gz abslibre-d6451859a3097970736574146474a3c605175b31.tar.bz2 abslibre-d6451859a3097970736574146474a3c605175b31.zip |
rebuild packages against linux-libre-3.10.1-1
Diffstat (limited to 'libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install')
-rw-r--r-- | libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install b/libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install index b1d86b9e6..2f7f00d9e 100644 --- a/libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install +++ b/libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install @@ -1,20 +1,23 @@ -VERSION='3.9.7-1-LIBRE' +_depmod() { + EXTRAMODULES='extramodules-3.10-ARCH' + 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 $VERSION + _depmod } post_upgrade() { - depmod $VERSION + _depmod echo 'In order to use the new version, reload all virtualbox modules manually.' } post_remove() { - depmod $VERSION + _depmod } # vim:set ts=2 sw=2 et: |