[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1644/8267] libaio: use snapshot.debian.org for SRC_URI



commit 27b49de75da9cb4515ae32ea584edf664bdc6c6d
Author: Maxin B. John <maxin john intel com>
Date:   Thu Jul 28 16:02:55 2016 +0300

    libaio: 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: 9e6e7b3a573446808d0aa9d82bedfb386b0aef93)
    
    Signed-off-by: Maxin B. John <maxin john intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-extended/libaio/libaio_0.3.110.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-extended/libaio/libaio_0.3.110.bb b/meta/recipes-extended/libaio/libaio_0.3.110.bb
index 2adfa0a..75975d4 100644
--- a/meta/recipes-extended/libaio/libaio_0.3.110.bb
+++ b/meta/recipes-extended/libaio/libaio_0.3.110.bb
@@ -5,7 +5,7 @@ HOMEPAGE = "http://lse.sourceforge.net/io/aio.html";
 LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \
+SRC_URI = 
"http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/liba/${BPN}/${BPN}_${PV}.orig.tar.gz \
            file://generic-arch-dectection-for-padding-defines.patch \
            file://00_arches.patch \
            file://destdir.patch \
@@ -17,6 +17,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \
 SRC_URI[md5sum] = "2a35602e43778383e2f4907a4ca39ab8"
 SRC_URI[sha256sum] = "e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e"
 
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/liba/libaio/"
+
 EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}"
 
 do_install () {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]