From ae43a6ec466a273a5867834c6e066d7158078d99 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Wed, 16 Feb 2022 21:50:04 +0100 Subject: [PATCH] add a cache-dir for bootstrap --- bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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` -- 2.39.5