mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
make.sh: Forward the proxy configuration to the chroot shell
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
9
make.sh
9
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() {
|
||||
|
||||
Reference in New Issue
Block a user