[oe-commits] [openembedded-core] 02/10: netbase: use snapshot.debian.org for SRC_URI

git at git.openembedded.org git at git.openembedded.org
Fri Jul 29 06:55:30 UTC 2016


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

commit c04758b1d5f206e46637f47e30e4c1e99f13b8c4
Author: Maxin B. John <maxin.john at intel.com>
AuthorDate: Thu Jul 28 15:24:21 2016 +0300

    netbase: 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>
---
 meta/recipes-core/netbase/netbase_5.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/netbase/netbase_5.3.bb b/meta/recipes-core/netbase/netbase_5.3.bb
index ccd89ff..543596a 100644
--- a/meta/recipes-core/netbase/netbase_5.3.bb
+++ b/meta/recipes-core/netbase/netbase_5.3.bb
@@ -6,13 +6,14 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
 PE = "1"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.xz \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/n/${BPN}/${BPN}_${PV}.tar.xz \
            file://netbase-add-rpcbind-as-an-alias-to-sunrpc.patch \
            file://hosts"
 
 SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1"
 SRC_URI[sha256sum] = "81f6c69795044d62b8ad959cf9daf049d0545fd466c52860ad3f933b1e97b88b"
 
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netbase/"
 do_install () {
 	install -d ${D}/${mandir}/man8 ${D}${sysconfdir}
 	install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts

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


More information about the Openembedded-commits mailing list