[oe-commits] [openembedded-core] 07/40: toolchain-shar-extract.sh: allow TERM through into SDK installer env

git at git.openembedded.org git at git.openembedded.org
Thu Jul 7 12:38:58 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a8f11bc5ce07114b9ec7da7ad48da62e2026cd74
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Fri Jun 24 00:07:06 2016 +1200

    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 <paul.eggleton at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/files/toolchain-shar-extract.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index d1ce86d..9279310 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list