blob: b727d007bc9b38ecf0bc7ec793cbf9e94b063a21 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001# polkit must prepare polkid group
2DEPENDS += "polkit"
3
4inherit useradd
5
6do_install_prepend() {
7 install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d
8 chown polkitd:polkitd ${D}${sysconfdir}/polkit-1/rules.d
9}
10USERADD_PARAM_${PN}_prepend = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd;"