From: Paul Eggleton Date: Thu, 23 Jun 2016 12:07:06 +0000 (+1200) Subject: toolchain-shar-extract.sh: allow TERM through into SDK installer env X-Git-Tag: uninative-1.3~450 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a8f11bc5ce07114b9ec7da7ad48da62e2026cd74;p=openembedded-core.git toolchain-shar-extract.sh: allow TERM through into SDK installer env In order to show the task progress during the extensible SDK installation, knotty needs to know it is using a terminal it can support the "interactive" mode on (i.e. ncurses can be used), which means it needs access to the TERM variable value, so allow that through into the cleaned environment within the SDK installation script. Part of the implementation for [YOCTO #9613]. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index d1ce86dccc..9279310376 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh @@ -2,6 +2,7 @@ [ -z "$ENVCLEANED" ] && exec /usr/bin/env -i ENVCLEANED=1 HOME="$HOME" \ LC_ALL=en_US.UTF-8 \ + TERM=$TERM \ http_proxy="$http_proxy" https_proxy="$https_proxy" ftp_proxy="$ftp_proxy" \ no_proxy="$no_proxy" all_proxy="$all_proxy" GIT_PROXY_COMMAND="$GIT_PROXY_COMMAND" "$0" "$@" [ -f /etc/environment ] && . /etc/environment