summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/mirrors.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-global/mirrors.bbclass')
-rw-r--r--meta/classes-global/mirrors.bbclass88
1 files changed, 0 insertions, 88 deletions
diff --git a/meta/classes-global/mirrors.bbclass b/meta/classes-global/mirrors.bbclass
deleted file mode 100644
index 75a0003ce5..0000000000
--- a/meta/classes-global/mirrors.bbclass
+++ /dev/null
@@ -1,88 +0,0 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7MIRRORS += "\
8${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \
9${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20250101T023759Z/pool \
10${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool \
11${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool \
12${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool \
13${GNU_MIRROR} https://mirrors.edge.kernel.org/gnu \
14${KERNELORG_MIRROR} http://www.edge.kernel.org/pub \
15${GNUPG_MIRROR} ftp://ftp.gnupg.org/gcrypt \
16${GNUPG_MIRROR} ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt \
17${GNUPG_MIRROR} ftp://mirrors.dotsrc.org/gcrypt \
18ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \
19ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ \
20ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \
21ftp://ftp.gnutls.org/gcrypt/gnutls ${GNUPG_MIRROR}/gnutls \
22http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \
23http://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/ \
24${APACHE_MIRROR} http://www.us.apache.org/dist \
25${APACHE_MIRROR} http://archive.apache.org/dist \
26http://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \
27${SAVANNAH_GNU_MIRROR} http://download-mirror.savannah.gnu.org/releases \
28${SAVANNAH_NONGNU_MIRROR} http://download-mirror.savannah.nongnu.org/releases \
29ftp://sourceware.org/pub http://mirrors.edge.kernel.org/sourceware \
30ftp://sourceware.org/pub http://gd.tuwien.ac.at/gnu/sourceware \
31ftp://sourceware.org/pub http://ftp.gwdg.de/pub/linux/sources.redhat.com/sourceware \
32cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
33svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
34git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
35gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
36hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
37bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
38p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
39osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
40https?://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
41ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
42npm://.*/?.* http://downloads.yoctoproject.org/mirror/sources/ \
43cvs://.*/.* http://sources.openembedded.org/ \
44svn://.*/.* http://sources.openembedded.org/ \
45git://.*/.* http://sources.openembedded.org/ \
46gitsm://.*/.* http://sources.openembedded.org/ \
47hg://.*/.* http://sources.openembedded.org/ \
48bzr://.*/.* http://sources.openembedded.org/ \
49p4://.*/.* http://sources.openembedded.org/ \
50osc://.*/.* http://sources.openembedded.org/ \
51https?://.*/.* http://sources.openembedded.org/ \
52ftp://.*/.* http://sources.openembedded.org/ \
53npm://.*/?.* http://sources.openembedded.org/ \
54${CPAN_MIRROR} https://cpan.metacpan.org/ \
55https?://downloads.yoctoproject.org/releases/uninative/ https://mirrors.edge.kernel.org/yocto/uninative/ \
56https?://downloads.yoctoproject.org/mirror/sources/ https://mirrors.edge.kernel.org/yocto-sources/ \
57"
58
59# Use MIRRORS to provide git repo fallbacks using the https protocol, for cases
60# where git native protocol fetches may fail due to local firewall rules, etc.
61
62MIRRORS += "\
63git://salsa.debian.org/.* git://salsa.debian.org/PATH;protocol=https \
64git://git.gnome.org/.* git://gitlab.gnome.org/GNOME/PATH;protocol=https \
65git://git.infradead.org/.* git://git.infraroot.at/PATH;protocol=https \
66git://.*/.* git://HOST/PATH;protocol=https \
67git://.*/.* git://HOST/git/PATH;protocol=https \
68"
69
70# Switch llvm, glibc and binutils recipes to use shallow clones as they're large and this
71# improves user experience whilst allowing the flexibility of git urls in the recipes
72BB_GIT_SHALLOW:pn-binutils = "1"
73BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1"
74BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1"
75BB_GIT_SHALLOW:pn-binutils-testsuite = "1"
76BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1"
77BB_GIT_SHALLOW:pn-binutils-native = "1"
78BB_GIT_SHALLOW:pn-nativesdk-binutils = "1"
79
80BB_GIT_SHALLOW:pn-cross-localedef-native = "1"
81BB_GIT_SHALLOW:pn-glibc = "1"
82BB_GIT_SHALLOW:pn-glibc-tests = "1"
83PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \
84 git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"
85
86BB_GIT_SHALLOW:pn-llvm = "1"
87BB_GIT_SHALLOW:pn-llvm-native = "1"
88BB_GIT_SHALLOW:pn-nativesdk-llvm = "1"