summaryrefslogtreecommitdiff
path: root/meta/classes/populate_sdk_base.bbclass
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2013-07-16 14:42:35 +0300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-29 09:24:54 +0100
commit761cf78f12d60179684ae16e66008204f278561e (patch)
treea3994b8ee0eb63a02bb3cd0ed4f84befe5b6d903 /meta/classes/populate_sdk_base.bbclass
parent135e681a3f3004a925b46b03cdada2fd86fc6c93 (diff)
downloadopenembedded-core-761cf78f12d60179684ae16e66008204f278561e.tar.gz
openembedded-core-761cf78f12d60179684ae16e66008204f278561e.tar.bz2
openembedded-core-761cf78f12d60179684ae16e66008204f278561e.zip
populate_sdk_base.bbclass: use new perm option for find
Old way find -perm +mode is no longer supported in newer versions of find (Fedora 19). Man page says: -perm +mode This is no longer supported (and has been deprecated since 2005). Use -perm /mode instead. [YOCTO #4853] (From OE-Core master rev: 21b079e01873e2fb4d8674541e8c5818ba73554e) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r--meta/classes/populate_sdk_base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 6378af98a8..897159addc 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -254,7 +254,7 @@ if [ "$dl_path" = "" ] ; then
echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!"
exit 1
fi
-executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm +111)
+executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111)
tdir=`mktemp -d`
if [ x$tdir = x ] ; then