summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/mirrors.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* The poky repository master branch is no longer being updated.Richard Purdie2025-11-071-88/+0
| | | | | | | | | | | | | | | | | | | | | You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/mirrors: use geo-located kernel.org mirrorsRoss Burton2025-10-161-5/+5
| | | | | | | | | | | | | | | | | We use the kernel.org mirrors for a number of projects: obviously the kernel, but also the GNU tarballs are fetched from there too. However, mirrors.kernel.org does not have any geo-proximity DNS magic and will always resolve to the primary server on in west coast USA, which is far from ideal if you're not near there. Switch the mirror URLs to mirrors.edge.kernel.org, which does actually resolve to a closer server. (From OE-Core rev: 63d586cd6499ef2a8d311223fa0e1ed9d071dd0e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors: rationalise Debian mirrorsRoss Burton2025-03-061-17/+1
| | | | | | | | | | | | | | | Change DEBIAN_MIRROR to point at the canonical server, deb.debian.org. This is a CDN-backed server using network magic to load balance across the planet so there's no need to set a slew of regional mirrors. Also add a more recent snapshot.debian.org from the beginning of 2025. (From OE-Core rev: 3d95d45836accd29916dd8cb9bfe624d63d6c202) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-testsuite: Rename to binutils-testsuiteJoshua Watt2024-06-271-1/+1
| | | | | | | | | | | This recipe needs to be renamed because the "-cross-" substring in the name triggers the cross architecture detection in sstate, but this recipe is not actually a cross recipe. (From OE-Core rev: 812c114a8a872ad59b19c7ffb8c1f230fc64c823) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors: Switch llvm to use shallow cloningRichard Purdie2024-02-291-1/+5
| | | | | | | | | | | The llvm github repo appears to see a lot of churn on branches we're not interested in and is in general huge and unreliable to clone. Switch to shallow clones to improve the user experience. (From OE-Core rev: 6cf98a4954751977fb02fb2024ef842865352138) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors.bbclass: add infraroot as an https mirrorRandolph Sapp2024-02-101-0/+1
| | | | | | | | | | | | | | Add the new infraroot.at mirror to the MIRRORS string for https sources since infradead.org does not support https and certain proxy configs cause this fetch to fail. Mirror info fetched from the following announcement: https://lists.infradead.org/pipermail/linux-mtd/2023-August/100922.html (From OE-Core rev: ce8f7bb81598aecafe486a461c94254b97518832) Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors: Allow shallow glibc to work correctlyRichard Purdie2024-02-081-0/+2
| | | | | | | | | | | | | | The intention of the mirror code was to allow faster cloning of glibc. This wasn't quite working since the full clone was needed by glibc-tests or cross-localedef-native. I noticed this when I updated a build and it was trying to unpack glibc but fetch cross-localedef-native. Add entries to cover these and restore the faster cloning for glibc and realted recipes. (From OE-Core rev: 7891b5fb96f757274bebbb77df634e7af9054298) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors.bbclass: update CPAN_MIRRORTim Orling2022-11-221-2/+1
| | | | | | | | | | | | Both of these redirect to https://cpan.metacpan.org/: http://cpan.metacpan.org/ http://search.cpan.org/CPAN/ (From OE-Core rev: f1b74fc09f70d52d9ac629b04d81aa94fd97ff40) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors.bbclass: use shallow tarball for nativesdk-binutilsEtienne Cordonnier2022-11-071-0/+2
| | | | | | | | | | | This is useful e.g. when using meta-clang, which introduces a dependency to nativesdk-binutils when populating the SDK, and then a full tarball of binutils is fetched additionally to a shallow tarball. (From OE-Core rev: 18624a89cb09bab78f9200a7c63406c75845e3e3) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors.bbclass: use shallow tarball for binutils-nativeEtienne Cordonnier2022-10-281-0/+1
| | | | | | | | | | | | This is useful e.g. when using meta-clang, which introduces a dependency to binutils-native, and then a full tarball of binutils is fetched additionally to a shallow tarball. The original BB_GIT_SHALLOW lines were added because of https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg08752.html (From OE-Core rev: bd83b8b502ae935c75b59aaf71bbb531c9771dcc) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Update classes to match new bitbake class scope functionalityRichard Purdie2022-08-121-0/+95
Move classes to classes-global or classes-recipe as appropriate to take advantage of new bitbake functionality to check class scope/usage. (From OE-Core rev: f5c128008365e141082c129417eb72d2751e8045) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>