From e9af61e9c2d0ec614c4c56d37ca54cf053d8062a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 11 Oct 2010 11:44:42 +0100 Subject: dpkg-native: Don't install update-alternatives as it isn't cross rootfs capable Signed-off-by: Richard Purdie --- meta/recipes-devtools/dpkg/dpkg.inc | 1 - meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 01d591fe8..59da5dc9f 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc @@ -1,7 +1,6 @@ DESCRIPTION = "Package maintenance system for Debian." LICENSE = "GPL" SECTION = "base" -PR = "r1" SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \ file://ignore_extra_fields.patch;patch=1" diff --git a/meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb b/meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb index 760ecd323..c8069fe18 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb @@ -4,6 +4,8 @@ SRC_URI += "file://noman.patch;patch=1 \ file://check_snprintf.patch \ file://check_version.patch" +PR = "r3" + EXTRA_OECONF = "--without-static-progs \ --without-dselect \ --with-start-stop-daemon \ @@ -13,3 +15,7 @@ EXTRA_OECONF = "--without-static-progs \ --without-sgml-doc" BBCLASSEXTEND = "native" + +do_install_append_virtclass-native () { + rm ${D}${bindir}/update-alternatives +} -- cgit v1.2.3