diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-06-18 10:54:55 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-06-20 12:28:00 +0200 |
commit | 79b7cbaaee97d15b5573f472aea99a45d449d5fe (patch) | |
tree | eda6b0122dbce35e090318e92f2eafa1eee0cefc /meta-oe | |
parent | e57f17dc28324d3a8df79a11960247dd4ba4db92 (diff) | |
download | meta-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.inc | 9 |
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 | ||
2 | DEPENDS += "polkit" | ||
3 | |||
4 | inherit allarch useradd | ||
5 | |||
6 | do_install_prepend() { | ||
7 | install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d | ||
8 | chown polkitd:polkitd ${D}${sysconfdir}/polkit-1/rules.d | ||
9 | } | ||