]> cvs.zerfleddert.de Git - m1-debian/commitdiff
add a cache-dir for bootstrap
authorThomas Glanzmann <thomas@glanzmann.de>
Wed, 16 Feb 2022 20:50:04 +0000 (21:50 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Wed, 16 Feb 2022 20:50:04 +0000 (21:50 +0100)
bootstrap.sh

index 387f661dc41c26dceabf9bdb701507c0467de644..f79fc22c2439d91f9395c1748a00a72f85c36761 100644 (file)
@@ -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`
 
Impressum, Datenschutz