summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2016-07-29 16:28:45 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-01 12:14:39 +0100
commitd85ccb3daf33ec9d0816a3f975e44780333dfbd9 (patch)
treedd9cbe0ac24421d78f6d9baa81ebaa064694732a /meta
parent4a98ef84b96e90960796751ed428c5ae3cdbd55b (diff)
downloadpoky-d85ccb3daf33ec9d0816a3f975e44780333dfbd9.tar.gz
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. v2: use ${BPN} instead of ${PN} in SRC_URI for multilib builds [YOCTO #10040] (From OE-Core rev: a03f087fd49288539bb6a63a52bf907f1bcdc4d6) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/apmd/apmd_3.2.2-15.bb3
1 files changed, 2 insertions, 1 deletions
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 4ff6ad087c..82c2649340 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 \
9 file://apm.h;beginline=6;endline=18;md5=7d4acc1250910a89f84ce3cc6557c4c2" 9 file://apm.h;beginline=6;endline=18;md5=7d4acc1250910a89f84ce3cc6557c4c2"
10DEPENDS = "libtool-cross" 10DEPENDS = "libtool-cross"
11 11
12SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \ 12SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/a/${BPN}/${BPN}_3.2.2.orig.tar.gz;name=tarball \
13 file://legacy.patch \ 13 file://legacy.patch \
14 file://libtool.patch \ 14 file://libtool.patch \
15 file://unlinux.patch \ 15 file://unlinux.patch \
@@ -26,6 +26,7 @@ SRC_URI[tarball.sha256sum] = "7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5
26 26
27# for this package we're mostly interested in tracking debian patches, 27# for this package we're mostly interested in tracking debian patches,
28# and not in the upstream version where all development has effectively stopped 28# and not in the upstream version where all development has effectively stopped
29UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apmd/"
29UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)" 30UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
30 31
31S = "${WORKDIR}/apmd-3.2.2.orig" 32S = "${WORKDIR}/apmd-3.2.2.orig"