]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
make.sh: Explicitely download packages when building the toolchain
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jul 2024 15:01:58 +0000 (15:01 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jul 2024 15:01:58 +0000 (15:01 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index c716efbc789a8c6d6feeea35e5f65de3446f46ec..8cf4672cf5d3019d972c2a8864034bae4430d68d 100755 (executable)
--- 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