From a211d16b51731b9415c755b39e122b86061a766e Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Wed, 20 Sep 2017 08:56:17 +0300 Subject: [PATCH] capabilities: tie recipe to git revision instead of dynamicly generated tarball Since Github's auto-generated tarballs aren't garanteed to be identical over time it's better to tie the recipe to a git revision. contributes to #552 Signed-off-by: Dmitry Rozhkov --- recipes-ros/capabilities/capabilities_0.2.0.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/recipes-ros/capabilities/capabilities_0.2.0.bb b/recipes-ros/capabilities/capabilities_0.2.0.bb index 6ee9abe..ad21ac2 100644 --- a/recipes-ros/capabilities/capabilities_0.2.0.bb +++ b/recipes-ros/capabilities/capabilities_0.2.0.bb @@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=62135a7570582b9018c89013d4815380" DEPENDS = "message-generation roslaunch rospy std-msgs std-srvs" -SRC_URI = "https://github.com/osrf/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz" -SRC_URI[md5sum] = "0071ef2532612c7cc60c2b5a423d38d6" -SRC_URI[sha256sum] = "e55564dd82373139a4758d9d9e85d697bed6a0487c018774913e0f7069ce4024" +SRC_URI = "git://github.com/osrf/${PN}.git;branch=master;protocol=git" +SRCREV = "c6c71a9ac17e310787242f5b75bd1e4d86349844" -S = "${WORKDIR}/${ROS_SP}" +S = "${WORKDIR}/git" inherit catkin