projects
/
dev-env-setup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63eab39
)
add apt-acquire-retries to stop debootstrap failing
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 8 Sep 2021 17:43:46 +0000
(18:43 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 8 Sep 2021 17:43:46 +0000
(18:43 +0100)
mk-deb-chroot
patch
|
blob
|
history
diff --git
a/mk-deb-chroot
b/mk-deb-chroot
index 969930fd8b906f784902f9ea938b688386e492f3..26c020cab08fdbffccbbea65eade7114ca17f4dc 100755
(executable)
--- 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