From 1b86653740722b1bd4133269b7efc67e85cf54ff Mon Sep 17 00:00:00 2001 From: Stefan Stanacar Date: Tue, 16 Jul 2013 14:42:35 +0300 Subject: 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) (From OE-Core rev: 761cf78f12d60179684ae16e66008204f278561e) Signed-off-by: Stefan Stanacar Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/classes/populate_sdk_base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/populate_sdk_base.bbclass') 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 -- cgit v1.2.3-54-g00ecf