diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-extended/polkit/polkit-group-rule.inc')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-extended/polkit/polkit-group-rule.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-openembedded/meta-oe/recipes-extended/polkit/polkit-group-rule.inc b/meta-openembedded/meta-oe/recipes-extended/polkit/polkit-group-rule.inc index e38e344c1..4aeeb77d0 100644 --- a/meta-openembedded/meta-oe/recipes-extended/polkit/polkit-group-rule.inc +++ b/meta-openembedded/meta-oe/recipes-extended/polkit/polkit-group-rule.inc @@ -6,8 +6,8 @@ REQUIRED_DISTRO_FEATURES = "polkit" inherit useradd -do_install_prepend() { +do_install:prepend() { install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d } -USERADD_PARAM_${PN}_prepend = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd;" +USERADD_PARAM:${PN}:prepend = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd;" |