mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-20 17:47:14 +00:00
gvfs: Fix missing executable permission flags for files in libexec
At least XFCE sessions turned into unusable state [1] [1] http://lists.openembedded.org/pipermail/openembedded-devel/2019-April/199010.html Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -61,8 +61,16 @@ PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse"
|
|||||||
# libcdio-paranoia recipe doesn't exist yet
|
# libcdio-paranoia recipe doesn't exist yet
|
||||||
PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
|
PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
|
||||||
|
|
||||||
# Fix up permissions on polkit rules.d to work with rpm4 constraints
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
|
# Fix up permissions on polkit rules.d to work with rpm4 constraints
|
||||||
chmod 700 ${D}/${datadir}/polkit-1/rules.d
|
chmod 700 ${D}/${datadir}/polkit-1/rules.d
|
||||||
chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
|
chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
|
||||||
|
|
||||||
|
# After rebuilds (not from scracth) it can happen that the executables in
|
||||||
|
# libexec ar missing executable permission flag. Not sure but it came up
|
||||||
|
# during transition to meson. Looked into build files and logs but could
|
||||||
|
# not find suspicious
|
||||||
|
for exe in `find ${D}/${libexec}`; do
|
||||||
|
chmod +x $exe
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user