diff options
author | Ross Burton <ross.burton@intel.com> | 2016-07-26 00:14:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:56:32 +0100 |
commit | 1d39e4c145925e4517dc7fbb6f83767e883bb3c6 (patch) | |
tree | 8785c2a71bd5de087fa684cbdd098e76fd0226ca /meta/recipes-devtools/dpkg | |
parent | 7cb7ca908cc848b58ea014a1486ac3dee61d0d47 (diff) | |
download | poky-1d39e4c145925e4517dc7fbb6f83767e883bb3c6.tar.gz |
dpkg: 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 currently doesn't contain
1.18.7 as unstable has moved on to 1.18.9.
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.
(From OE-Core rev: b32d430c3c7dccf3a8d06ab492d648893a05950f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg_1.18.7.bb | 23 |
2 files changed, 14 insertions, 15 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index c2215cec6a..da6985cd55 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
@@ -2,13 +2,13 @@ SUMMARY = "Package maintenance system from Debian" | |||
2 | LICENSE = "GPLv2.0+" | 2 | LICENSE = "GPLv2.0+" |
3 | SECTION = "base" | 3 | SECTION = "base" |
4 | 4 | ||
5 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz" | ||
6 | |||
7 | DEPENDS = "zlib bzip2 perl ncurses" | 5 | DEPENDS = "zlib bzip2 perl ncurses" |
8 | DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" | 6 | DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native" |
9 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz run-postinsts perl" | 7 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz run-postinsts perl" |
10 | RDEPENDS_${PN}_class-native = "xz-native" | 8 | RDEPENDS_${PN}_class-native = "xz-native" |
11 | 9 | ||
10 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/dpkg/" | ||
11 | |||
12 | inherit autotools gettext perlnative pkgconfig systemd | 12 | inherit autotools gettext perlnative pkgconfig systemd |
13 | 13 | ||
14 | python () { | 14 | python () { |
@@ -73,5 +73,3 @@ PACKAGES += "${PN}-perl" | |||
73 | FILES_${PN}-perl = "${libdir}/perl" | 73 | FILES_${PN}-perl = "${libdir}/perl" |
74 | 74 | ||
75 | BBCLASSEXTEND = "native" | 75 | BBCLASSEXTEND = "native" |
76 | |||
77 | |||
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.18.7.bb b/meta/recipes-devtools/dpkg/dpkg_1.18.7.bb index 53759236d4..28fdc136a0 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.18.7.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.18.7.bb | |||
@@ -1,18 +1,19 @@ | |||
1 | require dpkg.inc | 1 | require dpkg.inc |
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
3 | 3 | ||
4 | SRC_URI_append_class-native =" file://glibc2.5-sync_file_range.patch " | 4 | SRC_URI = "http://snapshot.debian.org/archive/debian/20160509T100042Z/pool/main/d/${BPN}/${BPN}_${PV}.tar.xz \ |
5 | SRC_URI += "file://noman.patch \ | 5 | file://noman.patch \ |
6 | file://remove-tar-no-timestamp.patch \ | 6 | file://remove-tar-no-timestamp.patch \ |
7 | file://arch_pm.patch \ | 7 | file://arch_pm.patch \ |
8 | file://dpkg-configure.service \ | 8 | file://dpkg-configure.service \ |
9 | file://add_armeb_triplet_entry.patch \ | 9 | file://add_armeb_triplet_entry.patch \ |
10 | file://0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch \ | 10 | file://0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch \ |
11 | file://0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch \ | 11 | file://0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch \ |
12 | file://0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch \ | 12 | file://0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch \ |
13 | file://0005-dpkg-compiler.m4-remove-Wvla.patch \ | 13 | file://0005-dpkg-compiler.m4-remove-Wvla.patch \ |
14 | file://0006-add-musleabi-to-known-target-tripets.patch \ | 14 | file://0006-add-musleabi-to-known-target-tripets.patch \ |
15 | " | 15 | " |
16 | SRC_URI_append_class-native = " file://glibc2.5-sync_file_range.patch " | ||
16 | 17 | ||
17 | SRC_URI[md5sum] = "073dbf2129a54b0fc627464bf8af4a1b" | 18 | SRC_URI[md5sum] = "073dbf2129a54b0fc627464bf8af4a1b" |
18 | SRC_URI[sha256sum] = "ace36d3a6dc750a42baf797f9e75ec580a21f92bb9ff96b482100755d6d9b87b" | 19 | SRC_URI[sha256sum] = "ace36d3a6dc750a42baf797f9e75ec580a21f92bb9ff96b482100755d6d9b87b" |