diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index 82db4923c..0728fbf1f 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -7,7 +7,7 @@ pkgname=libvirt pkgver=1.2.6 -pkgrel=1 +pkgrel=3 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') url="http://libvirt.org/" @@ -15,7 +15,7 @@ license=('LGPL') depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit' 'python2' 'avahi' 'yajl' 'libpciaccess' 'udev' 'dbus-core' 'libxau' 'libxdmcp' 'libpcap' 'curl' 'libsasl' 'libgcrypt' 'libgpg-error' 'openssl' 'libxcb' 'gcc-libs' - 'iproute2' 'libnl' 'libx11') + 'iproute2' 'libnl' 'libx11' 'numactl' 'gettext') makedepends=('pkgconfig' 'lvm2' 'linux-api-headers' 'dnsmasq' 'lxc' 'libiscsi' 'open-iscsi') optdepends=('bridge-utils: for briged networking (default)' 'dnsmasq: for NAT/DHCP for guests' @@ -111,6 +111,9 @@ package() { install -D -m644 "$srcdir"/libvirtd-guests.conf.d "$pkgdir"/etc/conf.d/libvirt-guests install -D -m644 "$srcdir"/libvirt.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/libvirt.conf + chown -R 0:78 $pkgdir/var/lib/libvirt/qemu/channel/target/ + chmod 0770 $pkgdir/var/lib/libvirt/qemu/channel/target/ + rm -rf \ "$pkgdir"/var/run \ "$pkgdir"/etc/sysconfig \