[oe-commits] [openembedded-core] 12/14: blktool: use snapshot.debian.org for SRC_URI

git at git.openembedded.org git at git.openembedded.org
Mon Aug 1 11:15:40 UTC 2016


rpurdie pushed a commit to branch krogoth
in repository openembedded-core.

commit 43181af5a85b073c9b09a8a0ba912d51815a83de
Author: Maxin B. John <maxin.john at intel.com>
AuthorDate: Thu Jul 28 15:55:43 2016 +0300

    blktool: use snapshot.debian.org for SRC_URI
    
    Using ${DEBIAN_MIRROR} for SRC_URI doesn't work very well as that will
    only contain releases that are currently in Debian.
    
    So, move all of SRC_URI to the .bb so it can use snapshot.debian.org
    instead, and set UPSTREAM_CHECK_URI to ${DEBIAN_MIRROR} so upstream
    release checking continues to work.
    
    [YOCTO #10040]
    
    Signed-off-by: Maxin B. John <maxin.john at intel.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-extended/blktool/blktool_4-7.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/blktool/blktool_4-7.bb b/meta/recipes-extended/blktool/blktool_4-7.bb
index d6250a9..4551c32 100644
--- a/meta/recipes-extended/blktool/blktool_4-7.bb
+++ b/meta/recipes-extended/blktool/blktool_4-7.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
 DEPENDS = "glib-2.0"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/b/blktool/blktool_4.orig.tar.gz;name=tarball \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/b/${BPN}/${BPN}_4.orig.tar.gz;name=tarball \
            file://0001-fix-typos-in-manpage.patch \
            file://0002-fix-string-error.patch \
            file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \
@@ -20,6 +20,7 @@ SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e0680
 
 # for this package we're mostly interested in tracking debian patches,
 # and not in the upstream version where all development has effectively stopped
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/blktool/"
 UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
 
 S = "${WORKDIR}/${BPN}-4.orig"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list