Skip to contentSkip to conversation

polkit-group-rule: package polkit rules

PATCH New Martin Jansa 1 participant 1 message Aug 20, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 polkit-group-rule: package polkit rules

* broken since
https://github.com/openembedded/meta-openembedded/pull/859
which moved the files from ${sysconfdir} which is packaged in ${PN} by default into ${datadir} which isn't packaged causing:

ERROR: QA Issue: polkit-group-rule-network: Files/directories were installed but not shipped in any package:
/usr
/usr/share
/usr/share/polkit-1
/usr/share/polkit-1/rules.d
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
polkit-group-rule-network: 4 installed and not shipped files. [installed-vs-shipped]

---
 meta-oe/recipes-extended/polkit/polkit-group-rule.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/polkit/polkit-group-rule.inc +2 -0
index e2a2cecbe9..f57ca2611b 100644
@@ -5,3 +5,5 @@ inherit features_check
 REQUIRED_DISTRO_FEATURES = "polkit"
 
 inherit useradd
+
+FILES:${PN} += "${datadir}/polkit-1/rules.d"
Signature · 1 line
2.46.0