extra/qemu to 2.8.0-2

This commit is contained in:
Kevin Mihelich 2017-03-14 12:41:59 +00:00
parent 5c7ecbeae9
commit 30e0edccef
3 changed files with 4 additions and 5 deletions

View file

@ -13,7 +13,7 @@ pkgname=(qemu qemu-headless qemu-arch-extra qemu-headless-arch-extra
qemu-block-{iscsi,rbd,gluster} qemu-guest-agent)
pkgdesc="A generic and open source machine emulator and virtualizer"
pkgver=2.8.0
pkgrel=1
pkgrel=2
arch=(i686 x86_64)
license=(GPL2 LGPL2.1)
url="http://wiki.qemu.org/"
@ -28,7 +28,7 @@ source=("$url/download/${pkgname}-${pkgver}.tar.bz2"{,.sig}
sha256sums=('dafd5d7f649907b6b617b822692f4c82e60cf29bc0fc58bc2036219b591e5e62'
'SKIP'
'dd43e2ef062b071a0b9d0d5ea54737f41600ca8a84a8aefbebb1ff09f978acfb'
'0b4f3283973bb3bc876735f051d8eaab68f0065502a3a5012141fad193538ea1'
'c39bcde4a09165e64419fd2033b3532378bba84d509d39e2d51694d44c1f8d88'
'60dcde5002c7c0b983952746e6fb2cf06d6c5b425d64f340f819356e561e7fc7')
validpgpkeys=('CEACC9E15534EBABB82D3FA03353C9CEF108B584')
@ -220,6 +220,7 @@ package_qemu-guest-agent() {
install -D build-full/qemu-ga "$pkgdir/usr/bin/qemu-ga"
install -Dm644 qemu-ga.service "$pkgdir/usr/lib/systemd/system/qemu-ga.service"
install -Dm755 "$srcdir/qemu-$pkgver/scripts/qemu-guest-agent/fsfreeze-hook" "$pkgdir/etc/qemu/fsfreeze-hook"
}
# vim:set ts=2 sw=2 et:

View file

@ -1,5 +1,6 @@
[Unit]
Description=QEMU Guest Agent
ConditionPathExists=/dev/virtio-ports/org.qemu.guest_agent.0
[Service]
ExecStart=/usr/bin/qemu-ga

View file

@ -1,8 +1,5 @@
# Arg 1: the new package version
post_install() {
# create kvm group
systemd-sysusers qemu.conf
# trigger events on modules files when already loaded
for _f in /sys/devices/virtual/misc/{kvm,vhost-net}; do
[[ -e "$_f" ]] && udevadm trigger "$_f"