From: Thomas Glanzmann Date: Wed, 9 Mar 2022 13:07:23 +0000 (+0100) Subject: 13:35 < amw> Glanzmann: You initrd contains the .deb files (in var/cache/apt/archives... X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/60cb512aaba6fa9f6cf60da31ef4eb1ac5b66865 13:35 < amw> Glanzmann: You initrd contains the .deb files (in var/cache/apt/archives) that were used to build it :-) --- diff --git a/bootstrap.sh b/bootstrap.sh index fa07bcb..ff858cc 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -99,7 +99,7 @@ build_rootfs() sudo chroot . dpkg -i ${KERNEL} sudo rm ${KERNEL} - sudo bash -c 'apt-get clean' + sudo bash -c 'chroot . apt-get clean' ) }