summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/bmap-tools
diff options
context:
space:
mode:
authorChang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>2018-02-09 15:56:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-16 18:05:24 +0000
commitc18e042a43c56b4000a56ad20ee088ce4fd915f5 (patch)
treef101b52ec411c4cfd96c407d231c19c6703f8c2e /meta/recipes-support/bmap-tools
parent27951642f6138c99288f9038493af454dc9d68b3 (diff)
downloadopenembedded-core-c18e042a43c56b4000a56ad20ee088ce4fd915f5.tar.gz
openembedded-core-c18e042a43c56b4000a56ad20ee088ce4fd915f5.tar.bz2
openembedded-core-c18e042a43c56b4000a56ad20ee088ce4fd915f5.zip
bmap-tools: change SRC_URI to use tarball instead
Tarball sources can be checksummed and are faster to download. Added UPSTREAM_CHECK_URI to improve recipe maintenance and to verify upstream version check is still work. Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/bmap-tools')
-rw-r--r--meta/recipes-support/bmap-tools/bmap-tools_3.4.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb b/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb
index 70b6e91347..9d8191f330 100644
--- a/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb
+++ b/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb
@@ -9,10 +9,12 @@ SECTION = "console/utils"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-SRC_URI = "git://github.com/intel/bmap-tools.git"
-SRCREV = "9dad724104df265442226972a1e310813f9ffcba"
+SRC_URI = "https://github.com/intel/${BPN}/releases/download/v${PV}/${BP}.tgz"
-S = "${WORKDIR}/git"
+SRC_URI[md5sum] = "883420183611aa137cbaf68a91ef0d7e"
+SRC_URI[sha256sum] = "0064891270c180c190f41925b0f6fb9cecac3056f1168d2592dbe90e5f226c0a"
+
+UPSTREAM_CHECK_URI = "https://github.com/intel/${BPN}/releases"
RDEPENDS_${PN} = "python3-core python3-compression python3-mmap python3-setuptools"