diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-09-09 13:53:46 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-09-09 13:53:46 +0200 |
commit | 71e7314d0ee46fbc807b630f6c823c9b587c10c0 (patch) | |
tree | c5c99f6fdd928ae6f9d07ad0dcd7825beca9cc80 /bin | |
parent | 7ad8be1a1e8db83ca89b5a7b382c7a6aa5c4dc3c (diff) | |
download | jenkins.debian.net-71e7314d0ee46fbc807b630f6c823c9b587c10c0.tar.xz |
chroot-installs: detect Hash Sum mismatches and try again
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chroot-installation.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index e2e467a0..a4578cfd 100755 --- a/bin/chroot-installation.sh +++ b/bin/chroot-installation.sh @@ -57,7 +57,7 @@ execute_ctmpfile() { (sudo chroot $CHROOT_TARGET $TMPFILE 2>&1 | tee $TMPLOG) || true RESULT=$(grep "xxxxxSUCCESSxxxxx" $TMPLOG || true) if [ -z "$RESULT" ] ; then - RESULT=$(egrep "Failed to fetch.*(Unable to connect to|Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway|Service Unavailable)" $TMPLOG || true) + RESULT=$(egrep "Failed to fetch.*(Unable to connect to|Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway|Service Unavailable|Hash Sum mismatch)" $TMPLOG || true) if [ ! -z "$RESULT" ] ; then echo echo "$(date -u) - Warning: Network problem detected." |