projects
/
dev-env-setup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add apt-acquire-retries to stop debootstrap failing
[dev-env-setup.git]
/
mk-deb-chroot
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