Patchwork dpkg: Use bzip2-replacement-native

mail settings
Submitter Richard Purdie
Date Feb. 28, 2014, 3:49 p.m.
Message ID <1393602553.31769.198.camel@ted>
Download mbox | patch
Permalink /patch/67725/
State Accepted
Commit 1a84333bcc73e6eba14217dd9704678a4da9ab4b
Headers show


Richard Purdie - Feb. 28, 2014, 3:49 p.m.
bzip2-native is in ASSUME_PROVIDED so the dependency that dpkg has doesn't correctly
trigger the build dependency. This shows up if you don't have bzip2 development
headers on your build machine and you:

bitbake dpkg-native
bitbake dpkg-native -c cleansstate
rm tmp -rf
bitbake dpkg-native

This patch uses the bzip2-replacement-native dependency as a handful
of other recipes do to make sure libbz2 is available.

Signed-off-by: Richard Purdie <>


diff --git a/meta/recipes-devtools/dpkg/ b/meta/recipes-devtools/dpkg/
index c0c897c..471151e 100644
--- a/meta/recipes-devtools/dpkg/
+++ b/meta/recipes-devtools/dpkg/
@@ -6,7 +6,7 @@  SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz \
 DEPENDS = "zlib bzip2 perl ncurses"
-DEPENDS_class-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native perl-native"
+DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native"
 RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz"
 RDEPENDS_${PN}_class-native = "xz-native"