mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-14 07:14:04 +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:
parent
23b5517f82
commit
8ff9bc40ef
@ -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 \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user