diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-15 11:25:44 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-15 11:25:44 -0300 |
commit | d3a18c96784861f4671d9575d71cb96041bc4fab (patch) | |
tree | 27e73dccc79fb400f2bd2a855fd523dd8e704db8 /testing/qemu/qemu.install | |
parent | 1b8314826a584ddba121a6cb764efd44c784c53e (diff) | |
parent | 4784cc8068c68b6fc23c2bd0ee8158b2a924f5f4 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/dopewars/PKGBUILD
community/flightgear/PKGBUILD
extra/bmp/PKGBUILD
extra/qemu/PKGBUILD
extra/sbcl/PKGBUILD
Diffstat (limited to 'testing/qemu/qemu.install')
-rw-r--r-- | testing/qemu/qemu.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/qemu/qemu.install b/testing/qemu/qemu.install new file mode 100644 index 000000000..e16ac027c --- /dev/null +++ b/testing/qemu/qemu.install @@ -0,0 +1,24 @@ +# kvm: the new package version +post_install() { + # + groupadd kvm -f -g 78 + echo ">>> PLEASE READ FOR KVM USAGE!" + echo ">>> Load the correct KVM module, you will need a KVM capable CPU!" + echo ">>> Add yourself to the group 'kvm'." + echo ">>> Use 'qemu -enable-kvm' to use KVM." + echo "" + if [ "$(vercmp $2 0.11)" -lt 0 ]; then + echo "With the release of qemu and qemu-kvm 0.12.X, the kqemu kernel module" + echo "is no longer supported and will be removed from the repositories. You" + echo "can safely uninstall it from your system." + fi +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + # + groupdel kvm +} |