local-mirrors.conf: add mirror for sourceforge and re-tries for wget
[pti/rtp.git] / scripts / configs / local-mirrors.conf
index 16202e7..b54586b 100644 (file)
@@ -6,4 +6,10 @@ MIRRORS += "\
     ${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"