summaryrefslogtreecommitdiffstats
path: root/meta/classes-global
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-06 11:53:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-08 10:59:06 +0000
commit346d40b99f5f2f56c0207175a88bd469ebdfba09 (patch)
tree0f3c9ad0ff00e987b1bda0dbc43b9c780bbc575e /meta/classes-global
parentf66c8923c220affebb4ea5c2615b2d6b0694a501 (diff)
downloadpoky-346d40b99f5f2f56c0207175a88bd469ebdfba09.tar.gz
mirrors: Allow shallow glibc to work correctly
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>
Diffstat (limited to 'meta/classes-global')
-rw-r--r--meta/classes-global/mirrors.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-global/mirrors.bbclass b/meta/classes-global/mirrors.bbclass
index cda431ce89..ad070d4491 100644
--- a/meta/classes-global/mirrors.bbclass
+++ b/meta/classes-global/mirrors.bbclass
@@ -92,6 +92,8 @@ BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1"
92BB_GIT_SHALLOW:pn-binutils-native = "1" 92BB_GIT_SHALLOW:pn-binutils-native = "1"
93BB_GIT_SHALLOW:pn-nativesdk-binutils = "1" 93BB_GIT_SHALLOW:pn-nativesdk-binutils = "1"
94 94
95BB_GIT_SHALLOW:pn-cross-localedef-native = "1"
95BB_GIT_SHALLOW:pn-glibc = "1" 96BB_GIT_SHALLOW:pn-glibc = "1"
97BB_GIT_SHALLOW:pn-glibc-tests = "1"
96PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \ 98PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \
97 git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/" 99 git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"