libvirt: disable remember_owner by default on musl systems
fixes #14721
This commit is contained in:
parent
bcd6d47f85
commit
d4cb2abd83
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libvirt'
|
# Template file for 'libvirt'
|
||||||
pkgname=libvirt
|
pkgname=libvirt
|
||||||
version=5.8.0
|
version=5.8.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-hal --with-storage-lvm --with-qemu
|
configure_args="--without-hal --with-storage-lvm --with-qemu
|
||||||
--with-qemu-user=libvirt --with-qemu-group=libvirt --without-netcf
|
--with-qemu-user=libvirt --with-qemu-group=libvirt --without-netcf
|
||||||
|
@ -56,6 +56,7 @@ make_dirs="
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# runit services
|
# runit services
|
||||||
vsv libvirtd
|
vsv libvirtd
|
||||||
|
@ -65,6 +66,12 @@ post_install() {
|
||||||
rm -rf ${DESTDIR}/etc/sysconfig
|
rm -rf ${DESTDIR}/etc/sysconfig
|
||||||
# Remove unused stuff.
|
# Remove unused stuff.
|
||||||
rm -rf ${DESTDIR}/var/log
|
rm -rf ${DESTDIR}/var/log
|
||||||
|
|
||||||
|
# workaround for musl not providing an utmpx implementation
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ];
|
||||||
|
then
|
||||||
|
echo "remember_owner = 0" >> ${DESTDIR}/etc/libvirt/qemu.conf
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
libvirt-devel_package() {
|
libvirt-devel_package() {
|
||||||
|
|
Loading…
Reference in New Issue