mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
Retry for longer on failed cowbuilder operations
There's really nothing to do but retry.
This commit is contained in:
parent
8a4a8f6fb8
commit
afb4a20090
8
debian/util.sh
vendored
8
debian/util.sh
vendored
@ -295,15 +295,15 @@ build_debs () {
|
|||||||
}
|
}
|
||||||
if ! [ -d $cow_img ]; then
|
if ! [ -d $cow_img ]; then
|
||||||
announce "Creating base $distro-$arch image..."
|
announce "Creating base $distro-$arch image..."
|
||||||
local x=5
|
local x=30
|
||||||
while ! cow --create; do
|
while ! cow --create; do
|
||||||
[ $x -lt 1 ] && break; sleep 60; x=$((x-1))
|
[ $x -lt 1 ] && break; sleep 120; x=$((x-1))
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
announce "Updating base $distro-$arch image..."
|
announce "Updating base $distro-$arch image..."
|
||||||
local x=5
|
local x=30
|
||||||
while ! cow --update; do
|
while ! cow --update; do
|
||||||
[ $x -lt 1 ] && break; sleep 60; x=$((x-1))
|
[ $x -lt 1 ] && break; sleep 120; x=$((x-1))
|
||||||
done
|
done
|
||||||
announce "Building $distro-$arch DEBs from $dsc..."
|
announce "Building $distro-$arch DEBs from $dsc..."
|
||||||
if $debug_hook; then
|
if $debug_hook; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user