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'
|
||||
pkgname=libvirt
|
||||
version=5.8.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-hal --with-storage-lvm --with-qemu
|
||||
--with-qemu-user=libvirt --with-qemu-group=libvirt --without-netcf
|
||||
|
@ -56,6 +56,7 @@ make_dirs="
|
|||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# runit services
|
||||
vsv libvirtd
|
||||
|
@ -65,6 +66,12 @@ post_install() {
|
|||
rm -rf ${DESTDIR}/etc/sysconfig
|
||||
# Remove unused stuff.
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue