From 809d9b225415935279b1c5ac6b69a6a9675b6d6c Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 27 May 2023 17:58:15 +0200 Subject: [PATCH] buildsys: pre-cache initramfs dependencies on build-dir assembly makes for huge "source" tarballs with DSC, but much nicer than downloading them on build. Still missing: using apt-rdepends should be avoided either way.. Signed-off-by: Thomas Lamprecht --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 10ecb13..e401886 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,8 @@ $(BUILDDIR): submodules.prepared cd src; make clean cp -a src $@.tmp cp -a debian $@.tmp/ + rm -rf $@.tmp/pkgs + cd $@.tmp; DOWNLOAD_ONLY="1" ./build_initramfs.sh && mv build/initramfs/pkgs . mv $@.tmp $@ .PHONY: deb