summaryrefslogtreecommitdiff
path: root/repo/libvirt/libvirt.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/libvirt/libvirt.xibuild
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/libvirt/libvirt.xibuild')
-rw-r--r--repo/libvirt/libvirt.xibuild9
1 files changed, 9 insertions, 0 deletions
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
+}