diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-30 03:34:59 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-30 03:34:59 +0000 |
commit | 53db844f5c8c3d0a6752bb40f65c613020084541 (patch) | |
tree | d910e83c076bbb5d07951bceaf8570aa2bcdea90 /pcr/qemu-usbredir/qemu.install | |
parent | ce34930a04e783323d0a92208729b9e5fa1994c5 (diff) |
Mon Dec 30 03:31:50 UTC 2013
Diffstat (limited to 'pcr/qemu-usbredir/qemu.install')
-rw-r--r-- | pcr/qemu-usbredir/qemu.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/qemu-usbredir/qemu.install b/pcr/qemu-usbredir/qemu.install new file mode 100644 index 000000000..79ee83536 --- /dev/null +++ b/pcr/qemu-usbredir/qemu.install @@ -0,0 +1,23 @@ +# kvm: the new package version +post_install() { + # + groupadd kvm -f -g 78 +} + +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 +} |