diff options
author | ajs124 | 2015-06-09 21:15:02 +0200 |
---|---|---|
committer | ajs124 | 2015-06-09 21:15:36 +0200 |
commit | c158e78f842e3fc2bd0a64b02b82f270caa9ca22 (patch) | |
tree | 4ad7ff08d0a0cf6b2d63ef3c6d03e3dc0d21144e /qemu.install | |
download | aur-c158e78f842e3fc2bd0a64b02b82f270caa9ca22.tar.gz |
Initial import
Diffstat (limited to 'qemu.install')
-rw-r--r-- | qemu.install | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/qemu.install b/qemu.install new file mode 100644 index 000000000000..7a384814cb3b --- /dev/null +++ b/qemu.install @@ -0,0 +1,26 @@ +# kvm: the new package version +post_install() { + # + groupadd kvm -f -g 78 + echo "As of revision 31714, there is no need to add -bios /usr/share/qemu/bios.bin" + echo "anymore to your qemu command line" +} + +post_upgrade() { + 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 + if [ "$(vercmp $2 1.3.1)" -lt 0 ]; then + echo "With the release of qemu 1.3.0, qemu-kvm binary is removed." + echo "You need to change the emulator path, if you use libvirt by using:" + echo "'virsh edit <vm-name>'" + fi +} + +post_remove() { + # + groupdel kvm +} + |