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

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


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

commit 7ef9375a76daae0bcebbaaabd5042ff01cda83ef
Author: Maxin B. John <maxin.john at intel.com>
AuthorDate: Thu Jul 28 14:32:16 2016 +0300

    apmd: 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-bsp/apmd/apmd_3.2.2-15.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
index 4ff6ad0..1cd1d5c 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://apm.h;beginline=6;endline=18;md5=7d4acc1250910a89f84ce3cc6557c4c2"
 DEPENDS = "libtool-cross"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
+SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/a/${BPN}/${PN}_3.2.2.orig.tar.gz;name=tarball \
            file://legacy.patch \
            file://libtool.patch \
            file://unlinux.patch \
@@ -26,6 +26,7 @@ SRC_URI[tarball.sha256sum] = "7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5
 
 # 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/a/apmd/"
 UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
 
 S = "${WORKDIR}/apmd-3.2.2.orig"

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


More information about the Openembedded-commits mailing list