Message ID | 20241003194631.3250792-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [v2] strace: download release tarballs from GitHub | expand |
Oh I see what happened! > On 3 Oct 2024, at 20:46, Ross Burton via lists.openembedded.org <ross.burton=arm.com@lists.openembedded.org> wrote: > > Switch to downloading the release tarballs from GitHub. Their CDN is > rock solid, and strace.io is hosted inside Russia which some networks > are blocking. > > Signed-off-by: Ross Burton <ross.burton@arm.com> > > diff --git a/meta/recipes-devtools/strace/strace_6.11.bb b/meta/recipes-devtools/strace/strace_6.11.bb > index d98b5fdec9a..a8f11ea8093 100644 > --- a/meta/recipes-devtools/strace/strace_6.11.bb > +++ b/meta/recipes-devtools/strace/strace_6.11.bb > @@ -5,7 +5,7 @@ SECTION = "console/utils" > LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" > LIC_FILES_CHKSUM = "file://COPYING;md5=2433d82e1432a76dc3eadd9002bfe304" > > -SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ > +SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/strace-${PV}.tar.xz \ > file://update-gawk-paths.patch \ > file://Makefile-ptest.patch \ > file://run-ptest \ > @@ -17,7 +17,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ > " > SRC_URI[sha256sum] = "83262583a3529f02c3501aa8b8ac772b4cbc03dc934e98bab6e4883626e283a5" > > -inherit autotools ptest > +inherit autotools github-releases ptest > > # Not yet ported to rv32 > COMPATIBLE_HOST:riscv32 = "null" > --- > meta/recipes-devtools/strace/strace_6.11.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-devtools/strace/strace_6.11.bb b/meta/recipes-devtools/strace/strace_6.11.bb > index d98b5fdec9a..a8f11ea8093 100644 > --- a/meta/recipes-devtools/strace/strace_6.11.bb > +++ b/meta/recipes-devtools/strace/strace_6.11.bb > @@ -5,7 +5,7 @@ SECTION = "console/utils" > LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" > LIC_FILES_CHKSUM = "file://COPYING;md5=2433d82e1432a76dc3eadd9002bfe304" > > -SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ > +SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/strace-${PV}.tar.xz \ > file://update-gawk-paths.patch \ > file://Makefile-ptest.patch \ > file://run-ptest \ > @@ -17,7 +17,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ > " > SRC_URI[sha256sum] = "83262583a3529f02c3501aa8b8ac772b4cbc03dc934e98bab6e4883626e283a5" > > -inherit autotools ptest > +inherit autotools github-releases ptest > > # Not yet ported to rv32 > COMPATIBLE_HOST:riscv32 = "null" > -- > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#205212): https://lists.openembedded.org/g/openembedded-core/message/205212 > Mute This Topic: https://lists.openembedded.org/mt/108805952/6875888 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross.burton@arm.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta/recipes-devtools/strace/strace_6.11.bb b/meta/recipes-devtools/strace/strace_6.11.bb index d98b5fdec9a..a8f11ea8093 100644 --- a/meta/recipes-devtools/strace/strace_6.11.bb +++ b/meta/recipes-devtools/strace/strace_6.11.bb @@ -5,7 +5,7 @@ SECTION = "console/utils" LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=2433d82e1432a76dc3eadd9002bfe304" -SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ +SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/strace-${PV}.tar.xz \ file://update-gawk-paths.patch \ file://Makefile-ptest.patch \ file://run-ptest \ @@ -17,7 +17,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ " SRC_URI[sha256sum] = "83262583a3529f02c3501aa8b8ac772b4cbc03dc934e98bab6e4883626e283a5" -inherit autotools ptest +inherit autotools github-releases ptest # Not yet ported to rv32 COMPATIBLE_HOST:riscv32 = "null" --- meta/recipes-devtools/strace/strace_6.11.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/strace/strace_6.11.bb b/meta/recipes-devtools/strace/strace_6.11.bb index d98b5fdec9a..a8f11ea8093 100644 --- a/meta/recipes-devtools/strace/strace_6.11.bb +++ b/meta/recipes-devtools/strace/strace_6.11.bb @@ -5,7 +5,7 @@ SECTION = "console/utils" LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=2433d82e1432a76dc3eadd9002bfe304" -SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ +SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/strace-${PV}.tar.xz \ file://update-gawk-paths.patch \ file://Makefile-ptest.patch \ file://run-ptest \ @@ -17,7 +17,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ " SRC_URI[sha256sum] = "83262583a3529f02c3501aa8b8ac772b4cbc03dc934e98bab6e4883626e283a5" -inherit autotools ptest +inherit autotools github-releases ptest # Not yet ported to rv32 COMPATIBLE_HOST:riscv32 = "null"
Switch to downloading the release tarballs from GitHub. Their CDN is rock solid, and strace.io is hosted inside Russia which some networks are blocking. Signed-off-by: Ross Burton <ross.burton@arm.com>