summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/polkit/polkit-group-rule.inc')
-rw-r--r--meta-oe/recipes-extended/polkit/polkit-group-rule.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
new file mode 100644
index 000000000..8d1a89aa3
--- /dev/null
+++ b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
@@ -0,0 +1,9 @@
1# polkit must prepare polkid group
2DEPENDS += "polkit"
3
4inherit allarch useradd
5
6do_install_prepend() {
7 install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d
8 chown polkitd:polkitd ${D}${sysconfdir}/polkit-1/rules.d
9}