From 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 15 Jul 2022 00:52:21 +0100 Subject: added python deps for libvirt --- repo/libvirt/libvirt.xibuild | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'repo/libvirt/libvirt.xibuild') diff --git a/repo/libvirt/libvirt.xibuild b/repo/libvirt/libvirt.xibuild index 849deab..d5386d9 100644 --- a/repo/libvirt/libvirt.xibuild +++ b/repo/libvirt/libvirt.xibuild @@ -4,6 +4,7 @@ NAME="libvirt" DESC="A virtualization API for several hypervisor and container systems" MAKEDEPS="augeas libsasl device-mapper e2fsprogs gnutls libcap-ng libgpg-error netcf libnl libxml2 libxslt libtasn1 lvm2 lxc libgcrypt parted perl pkg-config eudev zlib yajl libpcap curl libpciaccess polkit readline linux-headers jansson libtirpc perl-xml-xpath fuse util-linux bash-completion bridge-utils dmidecode dnsmasq iptables pm-utils netcat rpcsvc-proto python-docutils meson ninja" +DEPS="dmidecode dnsmasq" PKG_VER=8.2.0 SOURCE="https://libvirt.org/sources/libvirt-$PKG_VER.tar.xz" @@ -52,3 +53,11 @@ package() { rm -rf "$PKG_DEST"/usr/lib/charset.alias rmdir -p "$PKG_DEST"/usr/lib 2>/dev/null || true } + +postinstall () { + groupadd libvirt 2>/dev/null && { + sed -i 's/^#unix_sock_group/unix_sock_group/g' + sed -i 's/^#unix_sock_rw_perms/unix_sock_rw_perms/g' + } + exit 0 +} -- cgit v1.2.1