From: Michael Tremer Date: Tue, 6 Aug 2024 14:11:04 +0000 (+0000) Subject: make.sh: Grant network access when downloading packages X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07358a9fc5ef0cb9ae7e386158bac5d5a21340ec;p=people%2Fmfischer%2Fipfire-2.x.git make.sh: Grant network access when downloading packages Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 2f629d73d..3a3590305 100755 --- a/make.sh +++ b/make.sh @@ -915,7 +915,7 @@ lfsmake1() { [ $? == 1 ] && return 0 # Download source outside of the toolchain - if ! make_pkg "${pkg}" download "$@"; then + if ! make_pkg --network "${pkg}" download "$@"; then exiterror "Downloading ${pkg}" fi @@ -937,7 +937,7 @@ lfsmake2() { [ $? == 1 ] && return 0 # Download source outside of the toolchain - if ! make_pkg "${pkg}" download "$@"; then + if ! make_pkg --network "${pkg}" download "$@"; then exiterror "Downloading ${pkg}" fi @@ -1144,7 +1144,7 @@ download_sources() { [ $? == 1 ] && continue # Download and check the package - if ! make_pkg "${pkg}" download b2; then + if ! make_pkg --network "${pkg}" download b2; then failed_packages+=( "${pkg}" ) print_status FAIL continue