sstate-cache-management: hide error message when one of possible layer location doesn't exist
* fixes [YOCTO #3116] (From OE-Core rev: b02d334e0e6a19a1bf3550add68f5770a835c772) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
dcd607ecc1
commit
d658f48efa
|
@ -174,7 +174,7 @@ remove_duplicated () {
|
|||
topdir=$(dirname $oe_core_dir)
|
||||
tunedirs="`find $topdir/meta* ${oe_core_dir}/meta* $layers -path '*/meta*/conf/machine/include'`"
|
||||
[ -n "$tunedirs" ] || echo_error "Can't find the tune directory"
|
||||
all_machines="`find $topdir/meta* ${oe_core_dir}/meta* $layers -path '*/meta*/conf/machine/*' -name '*.conf' | sed -e 's/.*\///' -e 's/.conf$//'`"
|
||||
all_machines="`find $topdir/meta* ${oe_core_dir}/meta* $layers -path '*/meta*/conf/machine/*' -name '*.conf' 2>/dev/null | sed -e 's/.*\///' -e 's/.conf$//'`"
|
||||
all_archs=`grep -r -h "^AVAILTUNES .*=" $tunedirs | sed -e 's/.*=//' -e 's/\"//g'`
|
||||
# Add the qemu and native archs
|
||||
# Use the "_" to substitute "-", e.g., x86-64 to x86_64
|
||||
|
|
Loading…
Reference in New Issue