summarylogtreecommitdiffstats
path: root/qemu.install
blob: 7a384814cb3bc9f9e1516b477c657cbac1873987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}