[oe] [meta-oe][PATCH 1/2] libuv: switch away from github archive
Trevor Woerner
twoerner at gmail.com
Fri May 11 15:21:08 UTC 2018
Since we know that github archives which are automatically generated have a
tendency to change their checksums[1], switch to using a git clone.
[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html
Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
meta-oe/recipes-connectivity/libuv/libuv_1.11.0.bb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta-oe/recipes-connectivity/libuv/libuv_1.11.0.bb b/meta-oe/recipes-connectivity/libuv/libuv_1.11.0.bb
index 0a5846bb8b..ca4685ab3e 100644
--- a/meta-oe/recipes-connectivity/libuv/libuv_1.11.0.bb
+++ b/meta-oe/recipes-connectivity/libuv/libuv_1.11.0.bb
@@ -4,10 +4,10 @@ BUGTRACKER = "https://github.com/libuv/libuv/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bb5ea0d651f4c3519327171906045775"
-SRC_URI = "https://github.com/libuv/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
-
-SRC_URI[md5sum] = "15550a9f5f45f7f32ae2d9bb0a21a2a7"
-SRC_URI[sha256sum] = "6ec7eec6ecc24b1a8ffedebedb2fe9313fffb5410de89aaf784dd01080411c7a"
+S = "${WORKDIR}/git"
+SRCREV = "7452ef4e06a4f99ee26b694c65476401534f2725"
+BRANCH = "v1.x"
+SRC_URI = "git://github.com/libuv/libuv.git;protocol=https;branch=${BRANCH};"
inherit autotools
--
2.17.0.rc2.3.gc2a499e6c
More information about the Openembedded-devel
mailing list