]> code.ossystems Code Review - openembedded-core.git/commitdiff
toolchain-shar-extract.sh: allow TERM through into SDK installer env
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 23 Jun 2016 12:07:06 +0000 (00:07 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Jul 2016 12:29:01 +0000 (13:29 +0100)
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 <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/files/toolchain-shar-extract.sh

index d1ce86dccc5878b6f86f63fa8257970694b681d4..92793103762fffb4563f913814bdeaf525bd28be 100644 (file)
@@ -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