From: Michael Tremer Date: Thu, 15 Aug 2024 15:44:31 +0000 (+0000) Subject: make.sh: Forward the proxy configuration to the chroot shell X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7eecaf4e7184d050870b386d2144bfe8da704454;p=people%2Fmfischer%2Fipfire-2.x.git make.sh: Forward the proxy configuration to the chroot shell Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 370e616a2..ab45e5394 100755 --- a/make.sh +++ b/make.sh @@ -535,12 +535,19 @@ prepareenv() { } entershell() { + local environ=( + # HTTP(S) Proxy + "https_proxy=${https_proxy}" + "http_proxy=${http_proxy}" + ) + echo "Entering to a shell inside the build environment, go out with exit" local PS1="ipfire build chroot (${BUILD_ARCH}) \u:\w\$ " # Run an interactive shell - execute --chroot --interactive --network bash -i + execute --chroot --interactive --network \ + "${environ[@]}" bash -i } lfsmakecommoncheck() {