Loading bin/reproducible_maintenance.sh +0 −20 Original line number Diff line number Diff line Loading @@ -290,26 +290,6 @@ for s in $SUITES ; do DIRTY=true fi # # schroot update # #echo "$(date -u) - updating the $s/$ARCH schroot now." #for i in 1 2 3 4 ; do # [ ! -d $SCHROOT_BASE/reproducible-$s ] || schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update # RESULT=$? # if [ $RESULT -eq 1 ] ; then # # sleep 61-120 secs # echo "Sleeping some time... (to workaround network problems like 'Hash Sum mismatch'...)" # /bin/sleep $(echo "scale=1 ; ($(shuf -i 1-600 -n 1)/10)+60" | bc ) # echo "$(date -u) - Retrying to update the $s/$ARCH schroot." # elif [ $RESULT -eq 0 ] ; then # break # fi #done #if [ $RESULT -eq 1 ] ; then # echo "Warning: failed to update the $s/$ARCH schroot." # DIRTY=true #fi # # pbuilder update # # pbuilder aint used on jenkins anymore Loading Loading
bin/reproducible_maintenance.sh +0 −20 Original line number Diff line number Diff line Loading @@ -290,26 +290,6 @@ for s in $SUITES ; do DIRTY=true fi # # schroot update # #echo "$(date -u) - updating the $s/$ARCH schroot now." #for i in 1 2 3 4 ; do # [ ! -d $SCHROOT_BASE/reproducible-$s ] || schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update # RESULT=$? # if [ $RESULT -eq 1 ] ; then # # sleep 61-120 secs # echo "Sleeping some time... (to workaround network problems like 'Hash Sum mismatch'...)" # /bin/sleep $(echo "scale=1 ; ($(shuf -i 1-600 -n 1)/10)+60" | bc ) # echo "$(date -u) - Retrying to update the $s/$ARCH schroot." # elif [ $RESULT -eq 0 ] ; then # break # fi #done #if [ $RESULT -eq 1 ] ; then # echo "Warning: failed to update the $s/$ARCH schroot." # DIRTY=true #fi # # pbuilder update # # pbuilder aint used on jenkins anymore Loading