The downloads.sourceforge.net is unstable sometimes so the do_fetch
may fail for some packages, do the following to avoid that:
- add two mirror url so it will try to download from mirror url
when downloads.sourceforge.net is unavailable.
- re-define the FETCHCMD_wget to add more re-tries (2 -> 5) and
longer timeout (30 -> 60).
Issue-ID: INF-211
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ic6c9868fc1f2c470fe53a76e54a022dfc41c4589
${GNOME_MIRROR} http://ftp.cse.buffalo.edu/pub/Gnome/sources \n \
git://salsa.debian.org/.* git://salsa.debian.org/PATH;protocol=https \n \
git://salsa.debian.org/.* git://salsa.debian.org/PATH;protocol=http \n \
+ ${SOURCEFORGE_MIRROR} https://iweb.dl.sourceforge.net \n \
+ ${SOURCEFORGE_MIRROR} https://pilotfiber.dl.sourceforge.net \n \
"
+
+# Add more re-tries and timeout for wget
+# The original definition in bitbake.conf is: -t 2 -T 30
+FETCHCMD_wget="/usr/bin/env wget -t 5 -T 60 --waitretry=5 --passive-ftp --no-check-certificate"