blob: 3435e93a0f4db1970f0bc90263981ed5f7d50bfe (
plain)
1
2
3
4
5
6
7
8
9
10
|
# 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
}
USERADD_PARAM_${PN}_prepend = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd;"
|