]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
strace: download release tarballs from GitHub
authorRoss Burton <ross.burton@arm.com>
Thu, 3 Oct 2024 19:50:05 +0000 (20:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Oct 2024 12:26:28 +0000 (13:26 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/strace/strace_6.11.bb

index 45e1c26627f00d6d12e80818a4bd3b11f19e929e..4ab78e7a9b92de93126feeea5e190707b5792e8b 100644 (file)
@@ -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 \
@@ -18,7 +18,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"