]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
mirrors: Allow shallow glibc to work correctly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Feb 2024 11:53:55 +0000 (11:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Feb 2024 10:58:31 +0000 (10:58 +0000)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/mirrors.bbclass

index cda431ce89158cf7f6cf59e8e60a90e2d2c4b169..ad070d44911ffbf41fb2eca5ee9c7f988761725e 100644 (file)
@@ -92,6 +92,8 @@ BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1"
 BB_GIT_SHALLOW:pn-binutils-native = "1"
 BB_GIT_SHALLOW:pn-nativesdk-binutils = "1"
 
+BB_GIT_SHALLOW:pn-cross-localedef-native = "1"
 BB_GIT_SHALLOW:pn-glibc = "1"
+BB_GIT_SHALLOW:pn-glibc-tests = "1"
 PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \
               git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"