Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Maxin B. John" <maxin.john@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [krogoth][PATCH 07/12] blktool: use snapshot.debian.org for SRC_URI
Date: Thu, 28 Jul 2016 17:04:37 +0300	[thread overview]
Message-ID: <1469714682-31488-8-git-send-email-maxin.john@intel.com> (raw)
In-Reply-To: <1469714682-31488-1-git-send-email-maxin.john@intel.com>

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@intel.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"
-- 
2.4.0



  parent reply	other threads:[~2016-07-28 14:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-28 14:04 [krogoth] [PATCH 00/12] fix checkuri failures for krogoth Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 01/12] apmd: use snapshot.debian.org for SRC_URI Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 02/12] ossp-uuid: " Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 03/12] serf: " Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 04/12] netbase: " Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 05/12] docbook-xml-dtd4: " Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 06/12] linuxdoc-tools: " Maxin B. John
2016-07-28 14:04 ` Maxin B. John [this message]
2016-07-28 14:04 ` [krogoth][PATCH 08/12] libaio: " Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 09/12] mailx: " Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 10/12] dpkg: " Maxin B. John
2016-07-28 14:04 ` [krogoth][PATCH 11/12] at: " Maxin B. John
2016-07-28 15:40   ` akuster808
2016-07-28 14:04 ` [krogoth][PATCH 12/12] libproxy: " Maxin B. John
2016-07-28 14:38 ` [krogoth] [PATCH 00/12] fix checkuri failures for krogoth Burton, Ross
2016-07-28 14:52   ` John, Maxin
2016-07-28 15:07   ` [krogoth] Backport Request: pulseaudio: Disable unit tests Davis, Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469714682-31488-8-git-send-email-maxin.john@intel.com \
    --to=maxin.john@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox