[oe] [PATCH] gvfs: fix typo libexec

kai.kang at windriver.com kai.kang at windriver.com
Mon Apr 15 06:32:33 UTC 2019


From: Kai Kang <kai.kang at windriver.com>

I believe ${libexec} is a typo here which should be ${libexecdir}.
Otherwise, the execute bit of ${datadir}/polkit-1/rules.d will be set
and previous workaround which chmod ${datadir}/polkit-1/rules.d does not
work.

Replace tab with spaces at same time.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb b/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb
index 8fed9e825..35367ae11 100644
--- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb
@@ -63,14 +63,14 @@ PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
 
 do_install_append() {
     # Fix up permissions on polkit rules.d to work with rpm4 constraints
-	chmod 700 ${D}/${datadir}/polkit-1/rules.d
-	chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
+    chmod 700 ${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
+    for exe in `find ${D}/${libexecdir}`; do
        chmod +x $exe
     done
 
-- 
2.20.0



More information about the Openembedded-devel mailing list