Skip to content

Commit

Permalink
libvirt: disable remember_owner by default on musl systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoshpak authored and bilebucket committed Oct 22, 2019
1 parent 952af11 commit bd4e9d7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion srcpkgs/libvirt/template
@@ -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
Expand Down Expand Up @@ -56,6 +56,7 @@ make_dirs="
pre_configure() {
autoreconf -fi
}

post_install() {
# runit services
vsv libvirtd
Expand All @@ -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() {
Expand Down

0 comments on commit bd4e9d7

Please sign in to comment.