From: Chen Qi <qi.c...@windriver.com> Add '-q' option to bitbake-getvar to avoid warning messages contaminating the actual result.
Signed-off-by: Chen Qi <qi.c...@windriver.com> --- scripts/oe-find-native-sysroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot index 6228efcbee..541318b461 100755 --- a/scripts/oe-find-native-sysroot +++ b/scripts/oe-find-native-sysroot @@ -38,7 +38,7 @@ fi # Global vars set_oe_native_sysroot(){ echo "Getting sysroot..." - OECORE_NATIVE_SYSROOT=$(bitbake-getvar -r $1 --value STAGING_DIR_NATIVE) + OECORE_NATIVE_SYSROOT=$(bitbake-getvar -q -r $1 --value STAGING_DIR_NATIVE) } if [ "x$OECORE_NATIVE_SYSROOT" = "x" ]; then -- 2.40.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#188242): https://lists.openembedded.org/g/openembedded-core/message/188242 Mute This Topic: https://lists.openembedded.org/mt/101592501/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-