From b24ff2ab2649f0c8bf482f0cdf540de4667b4a04 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sun, 29 Dec 2013 11:19:46 -0200 Subject: fix freedom issue reported by niitotantei => https://labs.parabola.nu/issues/452 --- pcr/qemu-usbredir/qemu.install | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pcr/qemu-usbredir/qemu.install (limited to 'pcr/qemu-usbredir/qemu.install') 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 '" + fi +} + +post_remove() { + # + groupdel kvm +} -- cgit v1.2.3-54-g00ecf