From: Michael Tremer Date: Tue, 9 Jul 2024 15:01:58 +0000 (+0000) Subject: make.sh: Explicitely download packages when building the toolchain X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6fbdacb270b3078ba061440db0afb54e6f6edd2;p=people%2Fms%2Fipfire-2.x.git make.sh: Explicitely download packages when building the toolchain Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index c716efbc7..8cf4672cf 100755 --- a/make.sh +++ b/make.sh @@ -962,6 +962,11 @@ lfsmake1() { lfsmakecommoncheck "${pkg}" "$@" [ $? == 1 ] && return 0 + # Download source outside of the toolchain + if ! make_pkg "${pkg}" download "$@"; then + exiterror "Downloading ${pkg}" + fi + if ! make_pkg "${pkg}" TOOLCHAIN=1 ROOT="${BUILD_DIR}"; then print_status FAIL