summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/polkit/polkit-group-rule-network.bb
blob: bfd3361dfeb303a8eb9cd88c33f866ffcb89a3cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DESCRIPTION = "Create usergroup network. All members off this group are allowed to modify networkmanager settings"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

require polkit-group-rule.inc

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

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

USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM:${PN} = "--system network"