From 6dbf509bb3647818b7fc314b5b97c004a0fba1f9 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 1 Jun 2023 17:36:31 +0200 Subject: [PATCH] fix clean build again, use cache if actually there whit dropping this in 0cec05b ("build initramfs: download packages into per-flavor dirs"), the pre-caching was made effectively useless, and building without internet during the build-step failed. Signed-off-by: Thomas Lamprecht --- src/build_initramfs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/build_initramfs.sh b/src/build_initramfs.sh index 416d519..6fed576 100755 --- a/src/build_initramfs.sh +++ b/src/build_initramfs.sh @@ -12,6 +12,7 @@ mkdir -p "$BUILDDIR" if [ -d pkgs ]; then echo "copying package cache into build-dir" cp -a pkgs "$BUILDDIR/pkgs" + NO_DOWNLOAD="1" fi cd "$BUILDDIR" mkdir "$ROOT"