From: Thomas Glanzmann Date: Wed, 16 Feb 2022 20:50:04 +0000 (+0100) Subject: add a cache-dir for bootstrap X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/ae43a6ec466a273a5867834c6e066d7158078d99?hp=--cc add a cache-dir for bootstrap --- ae43a6ec466a273a5867834c6e066d7158078d99 diff --git a/bootstrap.sh b/bootstrap.sh index 387f661..f79fc22 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -74,7 +74,8 @@ build_rootfs() ( handle_crosscompile sudo rm -rf testing - sudo eatmydata ${DEBOOTSTRAP} --arch=arm64 --include initramfs-tools,wpasupplicant,tcpdump,vim,tmux,vlan,ntpdate,bridge-utils,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus,ca-certificates,sudo,openssh-client testing testing http://ftp.fau.de/debian + mkdir -p cache + sudo eatmydata ${DEBOOTSTRAP} --cache-dir=`pwd`/cache --arch=arm64 --include initramfs-tools,wpasupplicant,tcpdump,vim,tmux,vlan,ntpdate,bridge-utils,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus,ca-certificates,sudo,openssh-client testing testing http://ftp.fau.de/debian export KERNEL=`ls -1rt linux-image*.deb | grep -v dbg | tail -1`