aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/polkit/polkit-group-rule-datetime.bb
blob: eced4b6de65aa1d122e9631bd496d0c308161c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DESCRIPTION = "Create usergroup datetime. All members off this group are allowed set date/time/timezone via system dbus"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"

require polkit-group-rule.inc

SRC_URI = "file://50-org.freedesktop.timedate1.rules"

do_install() {
        install -m 0755 ${WORKDIR}/50-org.freedesktop.timedate1.rules ${D}${sysconfdir}/polkit-1/rules.d
}

USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = "--system datetime"