summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2013-06-18 10:54:55 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-06-20 12:28:00 +0200
commit79b7cbaaee97d15b5573f472aea99a45d449d5fe (patch)
treeeda6b0122dbce35e090318e92f2eafa1eee0cefc /meta-oe
parente57f17dc28324d3a8df79a11960247dd4ba4db92 (diff)
downloadmeta-openembedded-79b7cbaaee97d15b5573f472aea99a45d449d5fe.tar.gz
polkit-group-rule.inc: add a common template for polkit-rules/user-groups
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-oe')
-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}