]> code.ossystems Code Review - openembedded-core.git/commitdiff
dpkg: Use bzip2-replacement-native
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Feb 2014 15:49:13 +0000 (15:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Feb 2014 18:02:31 +0000 (18:02 +0000)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dpkg/dpkg.inc

index c0c897cf2f0c3f068ffb693c6ec651fc22098968..471151ed3b0fef26692af8cfcc3e74a2ddf2c445 100644 (file)
@@ -6,7 +6,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz \
            file://ignore_extra_fields.patch"
 
 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"