diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-07-28 15:55:43 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-01 11:47:14 +0100 |
commit | 1a740c6ac3df94509513a7560bc9a2d245a4d7b8 (patch) | |
tree | 7c5baa1781b19b3936cb7ec215f35e442c41e036 /meta/recipes-extended | |
parent | ecde311ccd8b4a75ef3f57f5f7150d0370d95431 (diff) | |
download | poky-1a740c6ac3df94509513a7560bc9a2d245a4d7b8.tar.gz |
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]
(From OE-Core rev: 3b6d9a6636efa4ae49d494b48021555344bdae1e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/blktool/blktool_4-7.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/blktool/blktool_4-7.bb b/meta/recipes-extended/blktool/blktool_4-7.bb index d6250a90c4..4551c3233e 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 \ | |||
9 | 9 | ||
10 | DEPENDS = "glib-2.0" | 10 | DEPENDS = "glib-2.0" |
11 | 11 | ||
12 | SRC_URI = "${DEBIAN_MIRROR}/main/b/blktool/blktool_4.orig.tar.gz;name=tarball \ | 12 | SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/b/${BPN}/${BPN}_4.orig.tar.gz;name=tarball \ |
13 | file://0001-fix-typos-in-manpage.patch \ | 13 | file://0001-fix-typos-in-manpage.patch \ |
14 | file://0002-fix-string-error.patch \ | 14 | file://0002-fix-string-error.patch \ |
15 | file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \ | 15 | file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \ |
@@ -20,6 +20,7 @@ SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e0680 | |||
20 | 20 | ||
21 | # for this package we're mostly interested in tracking debian patches, | 21 | # for this package we're mostly interested in tracking debian patches, |
22 | # and not in the upstream version where all development has effectively stopped | 22 | # and not in the upstream version where all development has effectively stopped |
23 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/blktool/" | ||
23 | UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)" | 24 | UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)" |
24 | 25 | ||
25 | S = "${WORKDIR}/${BPN}-4.orig" | 26 | S = "${WORKDIR}/${BPN}-4.orig" |