From 40d4c1b76da8220edb0996cc03b86bfc89434ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Tue, 18 Sep 2012 20:23:44 -0300 Subject: virtualbox-libre-4.2.0-1: updating version --- .../virtualbox-libre-host-source.install | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 libre/virtualbox-libre/virtualbox-libre-host-source.install (limited to 'libre/virtualbox-libre/virtualbox-libre-host-source.install') diff --git a/libre/virtualbox-libre/virtualbox-libre-host-source.install b/libre/virtualbox-libre/virtualbox-libre-host-source.install new file mode 100755 index 000000000..6a3994c8d --- /dev/null +++ b/libre/virtualbox-libre/virtualbox-libre-host-source.install @@ -0,0 +1,29 @@ +#/bin/sh + +# arg 1: the new package version +post_install() { + cat << EOF +==> To build and install your modules run dkms install vboxhost/${1%-*} +==> To do this automatically at startup you can add dkms in your DAEMONS +EOF +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + pre_remove "$2" +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install "$1" +} + +# arg 1: the old package version +pre_remove() { + # Remove modules using dkms + [ -n "${1%-*}" ] && dkms remove vboxhost/${1%-*} --all >/dev/null || true +} + +# vim:set ts=2 sw=2 ft=sh et: -- cgit v1.2.3-2-g168b From 90d45acbe443b3bb984c6ebb0cb30e53b54872a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Tue, 25 Sep 2012 04:29:06 -0300 Subject: virtualbox-libre-4.2.0-3: updating md5sums and fixes some parts on vboxdrv-reference.patch --- libre/virtualbox-libre/virtualbox-libre-host-source.install | 1 + 1 file changed, 1 insertion(+) (limited to 'libre/virtualbox-libre/virtualbox-libre-host-source.install') diff --git a/libre/virtualbox-libre/virtualbox-libre-host-source.install b/libre/virtualbox-libre/virtualbox-libre-host-source.install index 6a3994c8d..8028cb7e0 100755 --- a/libre/virtualbox-libre/virtualbox-libre-host-source.install +++ b/libre/virtualbox-libre/virtualbox-libre-host-source.install @@ -2,6 +2,7 @@ # arg 1: the new package version post_install() { + dkms add vboxhost/${1%-*} cat << EOF ==> To build and install your modules run dkms install vboxhost/${1%-*} ==> To do this automatically at startup you can add dkms in your DAEMONS -- cgit v1.2.3-2-g168b