summaryrefslogtreecommitdiffstats
path: root/bin/schroot-create.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-11 10:42:35 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-11 10:42:35 +0200
commit69c250623b53c08a3c5677254d8b333ca6f7bcb5 (patch)
treed318c8386d833a6d08c0783cee3505e862071ccd /bin/schroot-create.sh
parentce073fe35ff43055812fdbeeb6304422190ccbb1 (diff)
downloadjenkins.debian.net-69c250623b53c08a3c5677254d8b333ca6f7bcb5.tar.xz
handle invalid release signatures more gracefully
Diffstat (limited to 'bin/schroot-create.sh')
-rwxr-xr-xbin/schroot-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 348842c6..20e5f3ab 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -117,7 +117,7 @@ bootstrap() {
echo "Bootstraping $SUITE into $CHROOT_TARGET now."
set +e
sudo debootstrap $SUITE $CHROOT_TARGET $MIRROR | tee $TMPLOG
- RESULT=$(egrep "E: Couldn't download packages" $TMPLOG)
+ RESULT=$(egrep "E: (Couldn't download packages|Invalid Release signature)" $TMPLOG)
set -e
if [ ! -z "$RESULT" ] ; then
echo "$(date -u) - initial debootstrap failed, sleeping 5min before retrying..."