summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2021-09-21 15:53:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-02 09:53:15 +0100
commit52c71f8a28f0b4cb2cb9d2f76f09defe215c4538 (patch)
tree1de74a3faf69df802f28964fecdf621e3052c637 /meta/recipes-core
parent5f6eb454547a385398e1f91836c65b8e4da1eed3 (diff)
downloadpoky-52c71f8a28f0b4cb2cb9d2f76f09defe215c4538.tar.gz
expat: pull from github releases
sometimes we can find release tarballs from sourceforge are not fully distributed along all download mirrors leading to fetching failures, depending on what download mirror will be chosen by sourceforge servers. As the project moved to github anyway, it's better to pull the tarballs directly from github releases - serving the very same static artifacts. Add an override UPSTREAM_CHECK_URI to enable devtool upgrade checks (From OE-Core rev: 75cdae00b80e0a64bb02f274cdf8b9a321bd57e5) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> (backported from commit 2a1743ace5aa41b188f77853d0f00c9e5a359c6d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/expat/expat_2.2.10.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/expat/expat_2.2.10.bb b/meta/recipes-core/expat/expat_2.2.10.bb
index a54d832e52..08e8ff1cea 100644
--- a/meta/recipes-core/expat/expat_2.2.10.bb
+++ b/meta/recipes-core/expat/expat_2.2.10.bb
@@ -6,12 +6,16 @@ LICENSE = "MIT"
6 6
7LIC_FILES_CHKSUM = "file://COPYING;md5=9e2ce3b3c4c0f2670883a23bbd7c37a9" 7LIC_FILES_CHKSUM = "file://COPYING;md5=9e2ce3b3c4c0f2670883a23bbd7c37a9"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.bz2 \ 9VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}"
10
11SRC_URI = "https://github.com/libexpat/libexpat/releases/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 \
10 file://libtool-tag.patch \ 12 file://libtool-tag.patch \
11 file://run-ptest \ 13 file://run-ptest \
12 file://0001-Add-output-of-tests-result.patch \ 14 file://0001-Add-output-of-tests-result.patch \
13 " 15 "
14 16
17UPSTREAM_CHECK_URI = "https://github.com/libexpat/libexpat/releases/"
18
15SRC_URI[sha256sum] = "b2c160f1b60e92da69de8e12333096aeb0c3bf692d41c60794de278af72135a5" 19SRC_URI[sha256sum] = "b2c160f1b60e92da69de8e12333096aeb0c3bf692d41c60794de278af72135a5"
16 20
17EXTRA_OECMAKE_class-native += "-DEXPAT_BUILD_DOCS=OFF" 21EXTRA_OECMAKE_class-native += "-DEXPAT_BUILD_DOCS=OFF"