Skip to contentSkip to conversation

mirrors.bbclass: use shallow tarball for binutils-native

PATCH Etienne Cordonnier 2 participants 3 messages Oct 27, 2022 – Oct 28, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

To give some context: this is useful e.g. when using meta-clang, because this 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/[email protected]/msg08752.html

Quoted 41 lines · Etienne Cordonnier via lists.openembedded.org

From: Etienne Cordonnier <[email protected]>

---
 meta/classes-global/mirrors.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes-global/mirrors.bbclass +1 -0
index 9643b31a23..81fef7f660 100644
@@ -90,6 +90,7 @@ BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1"
 BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1"
 BB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1"
 BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1"
+BB_GIT_SHALLOW:pn-binutils-native = "1"
 BB_GIT_SHALLOW:pn-glibc = "1"
 PREMIRRORS += "git://sourceware.org/git/glibc.git

https://urldefense.proofpoint.com/v2/url?u=https-3A__downloads.yoctoproject.org_mirror_sources_&d=DwIDAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsyDLWdbBqarUzFxz3aALck&m=HZqdrpkiUB7hnG1RurPpT_UDdD0HHF4_H2A17NA-iXcaB_xKloPWVn8KEJnsaXSp&s=PK8TU6Ag_9FbxwQ5PsACCV_iuEu5W1hiwl9A66A7rZU&e=
\
git://sourceware.org/git/binutils-gdb.git
https://urldefense.proofpoint.com/v2/url?u=https-3A__downloads.yoctoproject.org_mirror_sources_&d=DwIDAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsyDLWdbBqarUzFxz3aALck&m=HZqdrpkiUB7hnG1RurPpT_UDdD0HHF4_H2A17NA-iXcaB_xKloPWVn8KEJnsaXSp&s=PK8TU6Ag_9FbxwQ5PsACCV_iuEu5W1hiwl9A66A7rZU&e=
"
--
2.36.1.vfs.0.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#172191):
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_172191&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsyDLWdbBqarUzFxz3aALck&m=HZqdrpkiUB7hnG1RurPpT_UDdD0HHF4_H2A17NA-iXcaB_xKloPWVn8KEJnsaXSp&s=iFJXGqQZMzQVU-0L7T_t0yEZ3SsRFmt0qMLlH2HiIzo&e=
Mute This Topic:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_94603459_7048784&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsyDLWdbBqarUzFxz3aALck&m=HZqdrpkiUB7hnG1RurPpT_UDdD0HHF4_H2A17NA-iXcaB_xKloPWVn8KEJnsaXSp&s=qJhgNTK8IIs21DHnbbdp80XGjQEdCaB69DdoHdm0oyg&e=
Group Owner: [email protected] Unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsyDLWdbBqarUzFxz3aALck&m=HZqdrpkiUB7hnG1RurPpT_UDdD0HHF4_H2A17NA-iXcaB_xKloPWVn8KEJnsaXSp&s=eqf_X4c3BZvukqCMaSWKziPII1gdEGJFZyWTNQSWCww&e=
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 6 lines · Etienne Cordonnier via lists.openembedded.org

To give some context: this is useful e.g. when using meta-clang, because this 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/[email protected]/msg08752
.html

Rather than replying to the patch, this information should be in the original commit! :)

Can you resend with that included please.

Cheers,

Richard

#3 lore raw

Sure, I've sent an updated version of the patch.

Quoted 20 lines · Richard Purdie
Quoted 5 lines · Etienne Cordonnier via lists.openembedded.org

To give some context: this is useful e.g. when using meta-clang, because this 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://urldefense.proofpoint.com/v2/url?u=https-3A__www.mail-2Darchive.com_yocto-40lists.yoctoproject.org_msg08752&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=nVObLY1dvBCdprETjd0dKD8MywPxPwPFOo2S3xaOrsbb9PBXwmUmg4KNC7LrAWKz&s=3NQJjTvA0JYUgctkXdw4Z-Ugu7WmncIYVzdA7CbEl3o&e=

Quoted 1 line

.html

Rather than replying to the patch, this information should be in the original commit! :)

Can you resend with that included please.

Cheers,

Richard