summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-03-13 17:09:00 (GMT)
committerColin Watson <cjwatson@debian.org>2012-03-13 17:09:00 (GMT)
commit1b85c83dc9e1bd3bd087da4e4301c4a5309bf5e0 (patch)
tree0b91afa0f2f1a15a3c9ee2fc7d50a82816aa2907
parent733069bb97bdfe3f9c16ca4c9ef58685205eabf3 (diff)
downloaddebootstrap-1b85c83dc9e1bd3bd087da4e4301c4a5309bf5e0.zip
debootstrap-1b85c83dc9e1bd3bd087da4e4301c4a5309bf5e0.tar.gz
debootstrap-1b85c83dc9e1bd3bd087da4e4301c4a5309bf5e0.tar.bz2
Stop at the end of the retrieval phase if any packages failed to download.
-rw-r--r--debian/changelog2
-rw-r--r--functions1
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 92a77c0..cda3ed8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ debootstrap (1.0.39) UNRELEASED; urgency=low
* Retry corrupted downloads rather than carrying on almost regardless.
Patch mostly due to Michael Gilbert, rearranged somewhat by me (closes:
#618920).
+ * Stop at the end of the retrieval phase if any packages failed to
+ download.
-- Colin Watson <cjwatson@debian.org> Tue, 13 Mar 2012 17:03:03 +0000
diff --git a/functions b/functions
index a8fdce4..edc6332 100644
--- a/functions
+++ b/functions
@@ -630,6 +630,7 @@ download_debs () {
echo >>$TARGET/debootstrap/debpaths "$p $debdest"
else
warning COULDNTDL "Couldn't download package %s (ver %s arc %s)" "$p" "$ver" "$arc"
+ leftover="$leftover $p"
fi
fi
done