diff options
| author | Saul Wold <sgw@linux.intel.com> | 2011-05-20 14:57:48 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-25 15:50:53 +0100 |
| commit | 8e341a6b390098df2685c8a469fd6bfc3163e442 (patch) | |
| tree | 2f850727064870333958fd43ccbafb191ae595bb | |
| parent | 2d7798a7901aca0456158a5a48bf36f4ce209e2d (diff) | |
| download | poky-8e341a6b390098df2685c8a469fd6bfc3163e442.tar.gz | |
update-alternatives-dpkg: Update to dpkg base 1.15.8.7
[YOCTO #1062]
Due to failing fetch updated recipe and SRC_URI to use .bz2,
(From OE-Core rev: 87cf2da6373676293f2fdaaebbacc6890235368d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 files changed, 18 insertions, 9 deletions
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc index 9b53df8725..f7f9ae979d 100644 --- a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc +++ b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg.inc | |||
| @@ -5,10 +5,12 @@ programs fulfilling the same or similar functions and how they can be installed | |||
| 5 | time." | 5 | time." |
| 6 | LICENSE = "GPL" | 6 | LICENSE = "GPL" |
| 7 | SECTION = "base" | 7 | SECTION = "base" |
| 8 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz" | 8 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2" |
| 9 | S = "${WORKDIR}/dpkg-${PV}" | 9 | S = "${WORKDIR}/dpkg-${PV}" |
| 10 | PACKAGE_ARCH = "all" | 10 | PACKAGE_ARCH = "all" |
| 11 | PR = "r2" | 11 | INC_PR = "r2" |
| 12 | |||
| 13 | inherit gettext | ||
| 12 | 14 | ||
| 13 | do_patch () { | 15 | do_patch () { |
| 14 | cat ${S}/scripts/update-alternatives.pl | \ | 16 | cat ${S}/scripts/update-alternatives.pl | \ |
| @@ -32,4 +34,10 @@ do_install () { | |||
| 32 | install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives | 34 | install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives |
| 33 | } | 35 | } |
| 34 | 36 | ||
| 37 | PROVIDES += "virtual/update-alternatives" | ||
| 38 | RPROVIDES_${PN} += "update-alternatives" | ||
| 39 | EXTRA_RDEPENDS = "perl dpkg" | ||
| 40 | EXTRA_RDEPENDS_virtclass-native = "" | ||
| 41 | RDEPENDS_${PN} += "${EXTRA_RDEPENDS}" | ||
| 42 | |||
| 35 | BBCLASSEXTEND = "native" | 43 | BBCLASSEXTEND = "native" |
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb deleted file mode 100644 index 5d38d5d36f..0000000000 --- a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.13.22.bb +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | require update-alternatives-dpkg.inc | ||
| 2 | |||
| 3 | PROVIDES += "virtual/update-alternatives" | ||
| 4 | RPROVIDES_${PN} += "update-alternatives" | ||
| 5 | EXTRA_RDEPENDS = "perl dpkg" | ||
| 6 | EXTRA_RDEPENDS_virtclass-native = "" | ||
| 7 | RDEPENDS_${PN} += "${EXTRA_RDEPENDS}" | ||
diff --git a/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb new file mode 100644 index 0000000000..5443122952 --- /dev/null +++ b/meta/recipes-devtools/update-alternatives/update-alternatives-dpkg_1.15.8.7.bb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | require update-alternatives-dpkg.inc | ||
| 2 | |||
| 3 | PR = "${INC_PR}.0" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "d1731d4147c1ea3b537a4d094519a6dc" | ||
| 8 | SRC_URI[sha256sum] = "1ec1376471b04717a4497e5d7a27cd545248c92116898ce0c53ced8ea94267b5" | ||
