summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/dpkg
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-11 11:44:42 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-11 11:44:42 +0100
commite9af61e9c2d0ec614c4c56d37ca54cf053d8062a (patch)
tree39c4d54be498410808c893bc068d2c7aa7b8d30b /meta/recipes-devtools/dpkg
parentb9728f63c676e217efcf93c40ded2c3fad19d52c (diff)
downloadopenembedded-core-e9af61e9c2d0ec614c4c56d37ca54cf053d8062a.tar.gz
openembedded-core-e9af61e9c2d0ec614c4c56d37ca54cf053d8062a.tar.bz2
openembedded-core-e9af61e9c2d0ec614c4c56d37ca54cf053d8062a.tar.xz
openembedded-core-e9af61e9c2d0ec614c4c56d37ca54cf053d8062a.zip
dpkg-native: Don't install update-alternatives as it isn't cross rootfs capable
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc1
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb6
2 files changed, 6 insertions, 1 deletions
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
+}