← Back to team overview

ubuntu-phone team mailing list archive

Re: Server Issues with "phablet-dev-bootstrap" and "repo sync"?

 

Hi,

I managed to download everything by running a retry-until-success-loop. I
don't know whether I did a mistake  when I only kill a single job but
somehow this causes my PC to download. Here is what I did:
[Code]
while true ; do
     phablet-dev-bootstrap -c UbuntuTouch &
     sleep 60
     if [[ $(jobs -r) == "" ]] ; then
         echo "Job is done"
         break
     fi
     # Job took too long
     kill -9 $!
done
[/Code]
Hope this works for some of you too
Best regards

References