Retry for longer on failed cowbuilder operations
There's really nothing to do but retry.
This commit is contained in:
parent
8a4a8f6fb8
commit
afb4a20090
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue