Skip to contentSkip to conversation

libvirt: fix package QA error

PATCH New [email protected] 1 participant 1 message May 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: fix package QA error

From: Chen Qi <[email protected]>

When multilib is enabled we can see the following package QA error.

QA Issue: Files/directories were installed but not shipped in any package:
/usr/lib/firewalld/policies /usr/lib/firewalld/zones/libvirt-routed.xml /usr/lib/firewalld/policies/libvirt-to-host.xml /usr/lib/firewalld/policies/libvirt-routed-out.xml /usr/lib/firewalld/policies/libvirt-routed-in.xml

These files are now packaged into libvirt-python in case multilib is not enabled. This is also not correct.

---
 recipes-extended/libvirt/libvirt_9.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_9.2.0.bb +1 -1
index 98f0941..5e70470 100644
@@ -82,7 +82,7 @@ FILES:${PN} += "${libdir}/libvirt/connection-driver \
 	    ${@bb.utils.contains('PACKAGECONFIG', 'polkit', '${datadir}/polkit-1', '', d)} \
 	    ${datadir}/bash-completion/completions/vsh \
 	    ${datadir}/bash-completion/completions/virt-admin \
-	    /usr/lib/firewalld/zones/libvirt.xml \
+	    /usr/lib/firewalld/ \
 	    "
 
 FILES:${PN}-dbg += "${libdir}/libvirt/connection-driver/.debug ${libdir}/libvirt/lock-driver/.debug"
Signature · 1 line
2.40.0