mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00
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>
This commit is contained in:
parent
cb50c93096
commit
6da0fd21c9
|
@ -46,9 +46,7 @@ SYSTEMD_AUTO_ENABLE = "disable"
|
|||
do_install:append() {
|
||||
#Fix up permissions on polkit rules.d to work with rpm4 constraints
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'libs-only', 'false', 'true', d)}; then
|
||||
chmod 700 ${D}/${datadir}/polkit-1/rules.d
|
||||
chmod 700 ${D}/${sysconfdir}/polkit-1/rules.d
|
||||
chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
|
||||
chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user