提交 5eb3a7eb authored 作者: Travis Cross's avatar Travis Cross

Retry for longer on failed cowbuilder operations

There's really nothing to do but retry.
上级 8f6a5101
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论