From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mail.openembedded.org (Postfix) with ESMTP id 8B08671B2E for ; Fri, 9 Feb 2018 08:01:58 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Feb 2018 00:01:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,482,1511856000"; d="scan'208";a="26074629" Received: from andromeda02.png.intel.com ([10.221.183.11]) by FMSMGA003.fm.intel.com with ESMTP; 09 Feb 2018 00:01:58 -0800 From: rebecca.swee.fun.chang@intel.com To: openembedded-core@lists.openembedded.org Date: Fri, 9 Feb 2018 15:56:41 +0800 Message-Id: <1518163001-81507-1-git-send-email-rebecca.swee.fun.chang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518156537-58531-1-git-send-email-rebecca.swee.fun.chang@intel.com> References: <1518156537-58531-1-git-send-email-rebecca.swee.fun.chang@intel.com> Subject: [PATCHv3] bmap-tools: change SRC_URI to use tarball instead X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2018 08:01:58 -0000 From: Chang Rebecca Swee Fun 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 --- meta/recipes-support/bmap-tools/bmap-tools_3.4.bb | 8 +++++--- 1 file 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 70b6e91..9d8191f 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" -- 2.7.4