mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
polkit-group-rule.inc: add a common template for polkit-rules/user-groups
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Martin Jansa
parent
e57f17dc28
commit
79b7cbaaee
@@ -0,0 +1,9 @@
|
||||
# polkit must prepare polkid group
|
||||
DEPENDS += "polkit"
|
||||
|
||||
inherit allarch useradd
|
||||
|
||||
do_install_prepend() {
|
||||
install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d
|
||||
chown polkitd:polkitd ${D}${sysconfdir}/polkit-1/rules.d
|
||||
}
|
||||
Reference in New Issue
Block a user