Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 1 | # polkit must prepare polkitd group |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 2 | DEPENDS += "polkit" |
3 | |||||
4 | inherit useradd | ||||
5 | |||||
6 | do_install_prepend() { | ||||
7 | install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d | ||||
8 | chown polkitd:polkitd ${D}${sysconfdir}/polkit-1/rules.d | ||||
9 | } | ||||
10 | USERADD_PARAM_${PN}_prepend = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd;" |