diff options
Diffstat (limited to 'extra/qemu/qemu.install')
-rw-r--r-- | extra/qemu/qemu.install | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/qemu/qemu.install b/extra/qemu/qemu.install index fd92c60eb..f4fabcc54 100644 --- a/extra/qemu/qemu.install +++ b/extra/qemu/qemu.install @@ -3,18 +3,20 @@ 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 "" +} + +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 -} - -post_upgrade() { - post_install $1 + 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() { |