From: Travis Cross Date: Wed, 11 Jun 2014 00:55:06 +0000 (+0000) Subject: Retry for longer on failed cowbuilder operations X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb3a7ebb0093e588b9cc21fa10c1aa0cfabd1ce;p=thirdparty%2Ffreeswitch.git Retry for longer on failed cowbuilder operations There's really nothing to do but retry. --- diff --git a/debian/util.sh b/debian/util.sh index 6d395a784d..af89c9b3a9 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -295,15 +295,15 @@ build_debs () { } if ! [ -d $cow_img ]; then announce "Creating base $distro-$arch image..." - local x=5 + local x=30 while ! cow --create; do - [ $x -lt 1 ] && break; sleep 60; x=$((x-1)) + [ $x -lt 1 ] && break; sleep 120; x=$((x-1)) done fi announce "Updating base $distro-$arch image..." - local x=5 + local x=30 while ! cow --update; do - [ $x -lt 1 ] && break; sleep 60; x=$((x-1)) + [ $x -lt 1 ] && break; sleep 120; x=$((x-1)) done announce "Building $distro-$arch DEBs from $dsc..." if $debug_hook; then