xref: /OK3568_Linux_fs/yocto/poky/meta/classes/mirrors.bbclass (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMIRRORS += "\
2*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \
3*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool \
4*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool \
5*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool \
6*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.de.debian.org/debian/pool \
7*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.au.debian.org/debian/pool \
8*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.cl.debian.org/debian/pool \
9*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.hr.debian.org/debian/pool \
10*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.fi.debian.org/debian/pool \
11*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.hk.debian.org/debian/pool \
12*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.hu.debian.org/debian/pool \
13*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.ie.debian.org/debian/pool \
14*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.it.debian.org/debian/pool \
15*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.jp.debian.org/debian/pool \
16*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.no.debian.org/debian/pool \
17*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.pl.debian.org/debian/pool \
18*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.ro.debian.org/debian/pool \
19*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.si.debian.org/debian/pool \
20*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.es.debian.org/debian/pool \
21*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.se.debian.org/debian/pool \
22*4882a593Smuzhiyun${DEBIAN_MIRROR}	http://ftp.tr.debian.org/debian/pool \
23*4882a593Smuzhiyun${GNU_MIRROR}	https://mirrors.kernel.org/gnu \
24*4882a593Smuzhiyun${KERNELORG_MIRROR}	http://www.kernel.org/pub \
25*4882a593Smuzhiyun${GNUPG_MIRROR}	ftp://ftp.gnupg.org/gcrypt \
26*4882a593Smuzhiyun${GNUPG_MIRROR}	ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt \
27*4882a593Smuzhiyun${GNUPG_MIRROR}	ftp://mirrors.dotsrc.org/gcrypt \
28*4882a593Smuzhiyunftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \
29*4882a593Smuzhiyunftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ \
30*4882a593Smuzhiyunftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \
31*4882a593Smuzhiyunftp://ftp.gnutls.org/gcrypt/gnutls ${GNUPG_MIRROR}/gnutls \
32*4882a593Smuzhiyunhttp://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \
33*4882a593Smuzhiyunhttp://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/ http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/ \
34*4882a593Smuzhiyun${APACHE_MIRROR}  http://www.us.apache.org/dist \
35*4882a593Smuzhiyun${APACHE_MIRROR}  http://archive.apache.org/dist \
36*4882a593Smuzhiyunhttp://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \
37*4882a593Smuzhiyun${SAVANNAH_GNU_MIRROR} http://download-mirror.savannah.gnu.org/releases \
38*4882a593Smuzhiyun${SAVANNAH_NONGNU_MIRROR} http://download-mirror.savannah.nongnu.org/releases \
39*4882a593Smuzhiyunftp://sourceware.org/pub http://mirrors.kernel.org/sourceware \
40*4882a593Smuzhiyunftp://sourceware.org/pub http://gd.tuwien.ac.at/gnu/sourceware \
41*4882a593Smuzhiyunftp://sourceware.org/pub http://ftp.gwdg.de/pub/linux/sources.redhat.com/sourceware \
42*4882a593Smuzhiyuncvs://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \
43*4882a593Smuzhiyunsvn://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \
44*4882a593Smuzhiyungit://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \
45*4882a593Smuzhiyungitsm://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \
46*4882a593Smuzhiyunhg://.*/.*      http://downloads.yoctoproject.org/mirror/sources/ \
47*4882a593Smuzhiyunbzr://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \
48*4882a593Smuzhiyunp4://.*/.*      http://downloads.yoctoproject.org/mirror/sources/ \
49*4882a593Smuzhiyunosc://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \
50*4882a593Smuzhiyunhttps?://.*/.*  http://downloads.yoctoproject.org/mirror/sources/ \
51*4882a593Smuzhiyunftp://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \
52*4882a593Smuzhiyunnpm://.*/?.*    http://downloads.yoctoproject.org/mirror/sources/ \
53*4882a593Smuzhiyuncvs://.*/.*     http://sources.openembedded.org/ \
54*4882a593Smuzhiyunsvn://.*/.*     http://sources.openembedded.org/ \
55*4882a593Smuzhiyungit://.*/.*     http://sources.openembedded.org/ \
56*4882a593Smuzhiyungitsm://.*/.*   http://sources.openembedded.org/ \
57*4882a593Smuzhiyunhg://.*/.*      http://sources.openembedded.org/ \
58*4882a593Smuzhiyunbzr://.*/.*     http://sources.openembedded.org/ \
59*4882a593Smuzhiyunp4://.*/.*      http://sources.openembedded.org/ \
60*4882a593Smuzhiyunosc://.*/.*     http://sources.openembedded.org/ \
61*4882a593Smuzhiyunhttps?://.*/.*  http://sources.openembedded.org/ \
62*4882a593Smuzhiyunftp://.*/.*     http://sources.openembedded.org/ \
63*4882a593Smuzhiyunnpm://.*/?.*    http://sources.openembedded.org/ \
64*4882a593Smuzhiyun${CPAN_MIRROR}  https://cpan.metacpan.org/ \
65*4882a593Smuzhiyunhttps?://downloads.yoctoproject.org/releases/uninative/ https://mirrors.kernel.org/yocto/uninative/ \
66*4882a593Smuzhiyunhttps?://downloads.yoctoproject.org/mirror/sources/ https://mirrors.kernel.org/yocto-sources/ \
67*4882a593Smuzhiyun"
68*4882a593Smuzhiyun
69*4882a593Smuzhiyun# Use MIRRORS to provide git repo fallbacks using the https protocol, for cases
70*4882a593Smuzhiyun# where git native protocol fetches may fail due to local firewall rules, etc.
71*4882a593Smuzhiyun
72*4882a593SmuzhiyunMIRRORS += "\
73*4882a593Smuzhiyungit://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \
74*4882a593Smuzhiyungit://git.gnome.org/.*        git://gitlab.gnome.org/GNOME/PATH;protocol=https \
75*4882a593Smuzhiyungit://.*/.*                   git://HOST/PATH;protocol=https \
76*4882a593Smuzhiyungit://.*/.*                   git://HOST/git/PATH;protocol=https \
77*4882a593Smuzhiyun"
78*4882a593Smuzhiyun
79*4882a593Smuzhiyun# Switch glibc and binutils recipes to use shallow clones as they're large and this
80*4882a593Smuzhiyun# improves user experience whilst allowing the flexibility of git urls in the recipes
81*4882a593SmuzhiyunBB_GIT_SHALLOW:pn-binutils = "1"
82*4882a593SmuzhiyunBB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1"
83*4882a593SmuzhiyunBB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1"
84*4882a593SmuzhiyunBB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1"
85*4882a593SmuzhiyunBB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1"
86*4882a593SmuzhiyunBB_GIT_SHALLOW:pn-binutils-native = "1"
87*4882a593SmuzhiyunBB_GIT_SHALLOW:pn-glibc = "1"
88*4882a593SmuzhiyunPREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \
89*4882a593Smuzhiyun              git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"
90