[arch-commits] Commit in qemu/trunk (PKGBUILD qemu.install)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Thu Jan 31 20:49:17 UTC 2013
Date: Thursday, January 31, 2013 @ 21:49:17
Author: tpowa
Revision: 176810
upgpkg: qemu 1.3.1-1
bump to latest version, added bridge.conf.sample added qemu-kvm removal hint
Modified:
qemu/trunk/PKGBUILD
qemu/trunk/qemu.install
--------------+
PKGBUILD | 6 ++++--
qemu.install | 5 +++++
2 files changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-01-31 19:32:13 UTC (rev 176809)
+++ PKGBUILD 2013-01-31 20:49:17 UTC (rev 176810)
@@ -1,7 +1,7 @@
# $Id$
# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
pkgname=qemu
-pkgver=1.3.0
+pkgver=1.3.1
pkgrel=1
pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
arch=('i686' 'x86_64')
@@ -37,6 +37,8 @@
# bridge_helper needs suid
# https://bugs.archlinux.org/task/32565
chmod u+s "${pkgdir}/usr/lib/qemu/qemu-bridge-helper"
+ # add sample config
+ echo "allow br0" > ${pkgdir}/etc/qemu/bridge.conf.sample
# strip scripts directory
find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
case "$(file -bi "$binary")" in
@@ -47,5 +49,5 @@
}
-md5sums=('a4030ddd2ba324152a97d65d3c0b247d'
+md5sums=('5dbc6c22f47efca71dfaae0dd80dcf9e'
'b316a066d2f1bb57d8f5b7ea1d0d1caf')
Modified: qemu.install
===================================================================
--- qemu.install 2013-01-31 19:32:13 UTC (rev 176809)
+++ qemu.install 2013-01-31 20:49:17 UTC (rev 176810)
@@ -11,6 +11,11 @@
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_upgrade() {
More information about the arch-commits
mailing list