diff options
| author | Darrel Griët <dgriet@gmail.com> | 2024-12-30 14:10:33 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-05 22:46:36 -0800 |
| commit | d89fc818b716d099f83a5a9a973be428e2b66806 (patch) | |
| tree | c4e71fece9a1a375616a230be156360714a1ce98 | |
| parent | 1c60b8ccf7a011fcac05714fc29d47bbc21c5ea3 (diff) | |
| download | meta-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.inc | 4 |
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 | ||
| 7 | inherit useradd | 7 | inherit useradd |
| 8 | 8 | ||
| 9 | do_install:prepend() { | ||
| 10 | install -m 700 -d ${D}${datadir}/polkit-1/rules.d | ||
| 11 | } | ||
| 12 | |||
| 9 | FILES:${PN} += "${datadir}/polkit-1/rules.d" | 13 | FILES:${PN} += "${datadir}/polkit-1/rules.d" |
