mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
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 <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d6d12689c0
commit
1b86653740
@@ -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
|
||||
|
||||
@@ -203,7 +203,7 @@ $SUDO sh -c "sed -e '"s:##DEFAULT_INSTALL_DIR##:$escaped_sdkpath:"' scripts/relo
|
||||
$SUDO chmod +x scripts/relocate_sdk_tmp.py
|
||||
|
||||
dl_path=$(find $OECORE_NATIVE_SYSROOT/lib -name "ld-linux*")
|
||||
executable_files=$(find $OECORE_NATIVE_SYSROOT -type f -perm +111)
|
||||
executable_files=$(find $OECORE_NATIVE_SYSROOT -type f -perm /111)
|
||||
|
||||
$SUDO scripts/relocate_sdk_tmp.py $INSTALL_FOLDER $dl_path $executable_files
|
||||
check_result
|
||||
|
||||
Reference in New Issue
Block a user