summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-27 23:49:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-28 08:36:01 +0100
commit48abe482dd1a743a87e69769da3f102caa115d5b (patch)
tree632c52b5ed38f210ffe86d279744c60718b2375f /meta/classes/populate_sdk_ext.bbclass
parent24da33413aed264454d883146241ea96bd7e0438 (diff)
downloadpoky-48abe482dd1a743a87e69769da3f102caa115d5b.tar.gz
populate_sdk_ext: Fix to use python3, not python
We should be using python3 here, it was missed in the conversion. Spotted on autobuilder tests failing on systems with python missing. (From OE-Core rev: db07b09196022078346aadd565760240b7da6a71) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 9f26cfc131..fd0da16e7e 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -676,7 +676,7 @@ sdk_ext_postinst() {
676 # current working directory when first ran, nor will it set $1 when 676 # current working directory when first ran, nor will it set $1 when
677 # sourcing a script. That is why this has to look so ugly. 677 # sourcing a script. That is why this has to look so ugly.
678 LOGFILE="$target_sdk_dir/preparing_build_system.log" 678 LOGFILE="$target_sdk_dir/preparing_build_system.log"
679 sh -c ". buildtools/environment-setup* > $LOGFILE && cd $target_sdk_dir/`dirname ${oe_init_build_env_path}` && set $target_sdk_dir && . $target_sdk_dir/${oe_init_build_env_path} $target_sdk_dir >> $LOGFILE && python $target_sdk_dir/ext-sdk-prepare.py $LOGFILE '${SDK_INSTALL_TARGETS}'" || { echo "printf 'ERROR: this SDK was not fully installed and needs reinstalling\n'" >> $env_setup_script ; exit 1 ; } 679 sh -c ". buildtools/environment-setup* > $LOGFILE && cd $target_sdk_dir/`dirname ${oe_init_build_env_path}` && set $target_sdk_dir && . $target_sdk_dir/${oe_init_build_env_path} $target_sdk_dir >> $LOGFILE && python3 $target_sdk_dir/ext-sdk-prepare.py $LOGFILE '${SDK_INSTALL_TARGETS}'" || { echo "printf 'ERROR: this SDK was not fully installed and needs reinstalling\n'" >> $env_setup_script ; exit 1 ; }
680 fi 680 fi
681 if [ -e $target_sdk_dir/ext-sdk-prepare.py ]; then 681 if [ -e $target_sdk_dir/ext-sdk-prepare.py ]; then
682 rm $target_sdk_dir/ext-sdk-prepare.py 682 rm $target_sdk_dir/ext-sdk-prepare.py