diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2013-07-16 14:42:35 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-18 21:23:45 +0100 |
commit | 8db36429ef328b97340ee1d9fc2e697cfdd68bff (patch) | |
tree | 7150e2525f8d6c8a6d51bfd79ede7e689b1534cd /meta/classes | |
parent | 16e1e1fa2dbb902c66e2a5a096ef272f20c28f97 (diff) | |
download | ast2050-yocto-poky-8db36429ef328b97340ee1d9fc2e697cfdd68bff.zip ast2050-yocto-poky-8db36429ef328b97340ee1d9fc2e697cfdd68bff.tar.gz |
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 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')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 30c1d29..aa3c2fa 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 |