mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +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 \
|
-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} += " \
|
FILES:${PN} += " \
|
||||||
${datadir}/dbus-1 \
|
${datadir}/dbus-1 \
|
||||||
${datadir}/gnome-shell \
|
${datadir}/gnome-shell \
|
||||||
|
|||||||
Reference in New Issue
Block a user