mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
gnome-control-center: Fixup polkit directory permissions
Fixes up the permissions of the polkit directory to match other recipes, otherwise they conflict at package install time Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -44,6 +44,14 @@ EXTRA_OEMESON = " \
|
||||
-Dcheese=false \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
# If polkit is setup fixup permissions and ownership
|
||||
if [ -d ${D}${datadir}/polkit-1/rules.d ]; then
|
||||
chmod 700 ${D}${datadir}/polkit-1/rules.d
|
||||
chown polkitd:root ${D}${datadir}/polkit-1/rules.d
|
||||
fi
|
||||
}
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/dbus-1 \
|
||||
${datadir}/gnome-shell \
|
||||
|
||||
Reference in New Issue
Block a user