diff options
author | Luca Boccassi <bluca@debian.org> | 2024-08-12 12:15:40 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-08-13 10:14:07 -0700 |
commit | 6da0fd21c900e32a0693a6b27d38182f19c8c76c (patch) | |
tree | 732249da37045da701f22753f64b7d99c183f3d3 | |
parent | cb50c930964bac0394020949c7efe0a4a06f3b89 (diff) | |
download | meta-openembedded-6da0fd21c900e32a0693a6b27d38182f19c8c76c.tar.gz |
polkit: stop overriding DAC on /usr/share/polkit-1/rules.d
This is no longer required by upstream for data in /usr/, as it ships
in packages so there's no point hiding its content. Still required for
/etc/ as that's for local modifications.
Signed-off-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-extended/polkit/polkit_124.bb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/polkit/polkit_124.bb b/meta-oe/recipes-extended/polkit/polkit_124.bb index 24102de782..417e8dda43 100644 --- a/meta-oe/recipes-extended/polkit/polkit_124.bb +++ b/meta-oe/recipes-extended/polkit/polkit_124.bb | |||
@@ -46,9 +46,7 @@ SYSTEMD_AUTO_ENABLE = "disable" | |||
46 | do_install:append() { | 46 | do_install:append() { |
47 | #Fix up permissions on polkit rules.d to work with rpm4 constraints | 47 | #Fix up permissions on polkit rules.d to work with rpm4 constraints |
48 | if ${@bb.utils.contains('PACKAGECONFIG', 'libs-only', 'false', 'true', d)}; then | 48 | if ${@bb.utils.contains('PACKAGECONFIG', 'libs-only', 'false', 'true', d)}; then |
49 | chmod 700 ${D}/${datadir}/polkit-1/rules.d | ||
50 | chmod 700 ${D}/${sysconfdir}/polkit-1/rules.d | 49 | chmod 700 ${D}/${sysconfdir}/polkit-1/rules.d |
51 | chown polkitd:root ${D}/${datadir}/polkit-1/rules.d | ||
52 | chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d | 50 | chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d |
53 | fi | 51 | fi |
54 | } | 52 | } |