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