blob: 40e40054239ae00715c4dc5aa359115a9174bf71 [file] [log] [blame]
# polkit must prepare polkitd group
DEPENDS += "polkit"
inherit useradd
do_install_prepend() {
install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d
chown polkitd:polkitd ${D}${sysconfdir}/polkit-1/rules.d
}
USERADD_PARAM_${PN}_prepend = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd;"