From 7eecaf4e7184d050870b386d2144bfe8da704454 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 15 Aug 2024 15:44:31 +0000 Subject: [PATCH] make.sh: Forward the proxy configuration to the chroot shell Signed-off-by: Michael Tremer --- make.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 370e616a23..ab45e53946 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() { -- 2.39.5