summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrel Griët <dgriet@gmail.com>2024-12-30 14:10:33 +0100
committerKhem Raj <raj.khem@gmail.com>2025-01-05 22:46:36 -0800
commitd89fc818b716d099f83a5a9a973be428e2b66806 (patch)
treec4e71fece9a1a375616a230be156360714a1ce98
parent1c60b8ccf7a011fcac05714fc29d47bbc21c5ea3 (diff)
downloadmeta-openembedded-d89fc818b716d099f83a5a9a973be428e2b66806.tar.gz
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>
-rw-r--r--meta-oe/recipes-extended/polkit/polkit-group-rule.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
index f57ca2611b..531f203efe 100644
--- a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
+++ b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
@@ -6,4 +6,8 @@ REQUIRED_DISTRO_FEATURES = "polkit"
6 6
7inherit useradd 7inherit useradd
8 8
9do_install:prepend() {
10 install -m 700 -d ${D}${datadir}/polkit-1/rules.d
11}
12
9FILES:${PN} += "${datadir}/polkit-1/rules.d" 13FILES:${PN} += "${datadir}/polkit-1/rules.d"