diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-07-28 15:24:21 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-01 11:47:14 +0100 |
commit | df4451c819bf2be30e92902936460b0a960c1733 (patch) | |
tree | 1c0b4568f3862d71a7369b9b7d3b4ae4f46304cb | |
parent | f6e53accbd6ff1aede8734e4e41cd29dcd1d8770 (diff) | |
download | poky-df4451c819bf2be30e92902936460b0a960c1733.tar.gz |
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]
(From OE-Core rev: edec2f2de186bd20fe328fd590301495149350d4)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/netbase/netbase_5.3.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/netbase/netbase_5.3.bb b/meta/recipes-core/netbase/netbase_5.3.bb index ccd89ff84f..543596a3d9 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" | |||
6 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" | 6 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" |
7 | PE = "1" | 7 | PE = "1" |
8 | 8 | ||
9 | SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.xz \ | 9 | SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/n/${BPN}/${BPN}_${PV}.tar.xz \ |
10 | file://netbase-add-rpcbind-as-an-alias-to-sunrpc.patch \ | 10 | file://netbase-add-rpcbind-as-an-alias-to-sunrpc.patch \ |
11 | file://hosts" | 11 | file://hosts" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1" | 13 | SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1" |
14 | SRC_URI[sha256sum] = "81f6c69795044d62b8ad959cf9daf049d0545fd466c52860ad3f933b1e97b88b" | 14 | SRC_URI[sha256sum] = "81f6c69795044d62b8ad959cf9daf049d0545fd466c52860ad3f933b1e97b88b" |
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netbase/" | ||
16 | do_install () { | 17 | do_install () { |
17 | install -d ${D}/${mandir}/man8 ${D}${sysconfdir} | 18 | install -d ${D}/${mandir}/man8 ${D}${sysconfdir} |
18 | install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts | 19 | install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts |