mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
polkit: Install rules in subdir
https://github.com/openembedded/meta-openembedded/commit/d5e90541f8e35916abc930b2da6de037b23d51a1 moved the rules to /usr/share/ instead of /etc/. The commit also removed the install:prepend() step. This results in the rules being installed as file /usr/share/polkit-1/rules.d instead of in that folder. This commit adds back the install prepend step such that the rules are installed in said folder. Signed-off-by: Darrel Griët <dgriet@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -6,4 +6,8 @@ REQUIRED_DISTRO_FEATURES = "polkit"
|
||||
|
||||
inherit useradd
|
||||
|
||||
do_install:prepend() {
|
||||
install -m 700 -d ${D}${datadir}/polkit-1/rules.d
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/polkit-1/rules.d"
|
||||
|
||||
Reference in New Issue
Block a user