Verified Commit d019f87a authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

chroot-run: another case when to retry debootstrap…



Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 87f86325
......@@ -68,7 +68,7 @@ bootstrap() {
echo "$(date -u ) - bootstraping $DISTRO into $CHROOT_TARGET now."
set +e
sudo debootstrap $BOOTSTRAP_OPTIONS $DISTRO $CHROOT_TARGET $MIRROR | tee $TMPLOG
local RESULT=$(egrep "E: (Couldn't download packages|Invalid Release signature)" $TMPLOG || true )
local RESULT=$(egrep "E: (Couldn't download (packages|dists)|Invalid Release signature)" $TMPLOG || true )
rm $TMPLOG
set -e
if [ ! -z "$RESULT" ] ; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment