updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / qemu-git / qemu.install
blob2abae7f4039275d9d2fc44cf38b3604b0737a0e7
1 post_install()
3         groupadd kvm -f -g 78
5         echo ">>> PLEASE READ FOR KVM USAGE!"
6         echo ">>>  Load the correct KVM module, you will need a KVM capable CPU!"
7         echo ">>>  Add yourself to the group 'kvm'."
8         echo ">>>  Use 'qemu -enable-kvm' to use KVM."
9         echo ""
10         if [ "$(vercmp $2 0.11)" -lt 0 ]; then
11                 echo "With the release of qemu and qemu-kvm 0.12.X, the kqemu kernel module"
12                 echo "is no longer supported and will be removed from the repositories. You"
13                 echo "can safely uninstall it from your system."
14         fi
17 post_upgrade()
19         post_install $1
22 post_remove()
24         groupdel kvm