]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
make.sh: Grant network access when downloading packages
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Aug 2024 14:11:04 +0000 (14:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Aug 2024 14:11:04 +0000 (14:11 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 2f629d73dd01a376b0771fd3d7b6dc9c8b91804d..3a3590305620975333178bf92197425564f74f5e 100755 (executable)
--- 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