From: Luke Kenneth Casson Leighton Date: Wed, 8 Sep 2021 17:43:46 +0000 (+0100) Subject: add apt-acquire-retries to stop debootstrap failing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a75d04704ae89bfe0f29d03e0c697d94a98468a;p=dev-env-setup.git add apt-acquire-retries to stop debootstrap failing --- diff --git a/mk-deb-chroot b/mk-deb-chroot index 969930f..26c020c 100755 --- a/mk-deb-chroot +++ b/mk-deb-chroot @@ -14,6 +14,9 @@ if [ -e /opt/chroot/$chrootdir ]; then exit fi +echo "adding retries for debootstrap to not fail" +echo 'APT::Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries + echo "Creating chroot dir '$chrootdir'" # Create coriolis chroot dir in /opt