[packages/libvirt] - drop sysusers.d file due to uid/gid inconsistency (user/groups are handled in qemu-common package)

qboosh qboosh at pld-linux.org
Sat Jun 1 21:54:03 CEST 2024


commit f9c52aab67f73ee855bd1c1b46df9e4d4e1fab5a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 1 21:47:04 2024 +0200

    - drop sysusers.d file due to uid/gid inconsistency (user/groups are handled in qemu-common package)

 libvirt.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/libvirt.spec b/libvirt.spec
index 9994d9c..becffdb 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -601,6 +601,9 @@ install -d $RPM_BUILD_ROOT/etc/rc.d/init.d \
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/libvirtd
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
+# PLD: kvm group, qemu user+group are handled in qemu-common package; uids and gids differ from file provided here, so kill it
+%{__rm} $RPM_BUILD_ROOT%{_prefix}/lib/sysusers.d/libvirt-qemu.conf
+
 %find_lang %{name}
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/f9c52aab67f73ee855bd1c1b46df9e4d4e1fab5a



More information about the pld-cvs-commit mailing list