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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-27 17:58:15 +02:00
parent f773602bd3
commit 809d9b2254

View File

@ -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