[meta-cgl,1/2] crmsh: do not use unstable github archive tarballs

Submitted by Hongxu Jia on May 27, 2019, 6:49 a.m. | Patch ID: 161670

Details

Message ID 1558939797-1027-1-git-send-email-hongxu.jia@windriver.com
State New
Headers show

Commit Message

Hongxu Jia May 27, 2019, 6:49 a.m.
Since commit [21f84fc insane: add sanity checks to SRC_URI] applied
in oe-core, do not use unstable github archive tarballs

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb b/meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb
index b28a826..7563c99 100644
--- a/meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb
+++ b/meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb
@@ -13,12 +13,12 @@  DEPENDS = "asciidoc-native \
            "
 RDEPENDS_${PN} = "pacemaker python-lxml gawk"
 
-SRC_URI = "https://github.com/ClusterLabs/crmsh/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz \
+S = "${WORKDIR}/git"
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=crmsh-3.0 \
            file://tweaks_for_build.patch \
           "
 
-SRC_URI[md5sum] = "563b463155a652820c8d1319418e88b7"
-SRC_URI[sha256sum] = "364fadb0d0c9619676e10bb75f4ea833a49019aa77ddb26229bc9d1c435585c0"
+SRCREV = "41845ca5511b844593cf25ae4eb7f307aa78c5be"
 
 inherit autotools-brokensep distutils-base