[arch-commits] Commit in libvirt/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Tue Jan 19 20:34:50 UTC 2021
Date: Tuesday, January 19, 2021 @ 20:34:49
Author: eschwartz
Revision: 823894
libvirt: remove upstream's terrifically broken "system" option and set DESTDIR
The "system" option is perfectly identical to --prefix, but makes wild and
wrong assumptions to override --libdir with broken paths that only work on
redhat. Incredibly misleading to people reading the option description.
Modified:
libvirt/trunk/PKGBUILD
----------+
PKGBUILD | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-19 20:24:50 UTC (rev 823893)
+++ PKGBUILD 2021-01-19 20:34:49 UTC (rev 823894)
@@ -94,7 +94,6 @@
validpgpkeys=('453B65310595562855471199CA68BE8010084C9C') # Jiří Denemark <jdenemar at redhat.com>
prepare() {
- mkdir build
cd "$pkgname-$pkgver"
sed -i 's|/sysconfig/|/conf.d/|g' \
@@ -114,7 +113,6 @@
arch-meson build \
--native-file "$srcdir"/find_programs.ini \
- -Dsystem=true \
-Drunstatedir=/run \
-Dqemu_group=kvm \
-Dopenwsman=disabled \
@@ -148,7 +146,7 @@
package_libvirt() {
provides=("libvirt=$pkgver" 'libvirt.so' 'libvirt-admin.so' 'libvirt-lxc.so' 'libvirt-qemu.so')
cd "$pkgname-$pkgver"
- ninja -C build install
+ DESTDIR="$pkgdir" ninja -C build install
mv "$pkgdir"/etc/{sysconfig,conf.d}
mkdir "$pkgdir"/usr/lib/{sysusers,tmpfiles}.d
More information about the arch-commits
mailing list