]> code.ossystems Code Review - openembedded-core.git/commitdiff
rpm: add explicit dependency on bzip2-replacement-native for native builds
authorMing Liu <peter.x.liu@external.atlascopco.com>
Mon, 12 Jun 2017 07:25:52 +0000 (09:25 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Jun 2017 09:46:30 +0000 (10:46 +0100)
This fixes a following error:
| recipe-sysroot-native/usr/lib/rpm/debugedit: error while loading shared libraries: \
| libbz2.so.1: cannot open shared object file: No such file or directory

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_git.bb

index e721dfba0b853cdb34248c2032eb5dd186f2974d..2a0dcafac79441cc90e675ad5edc4b64dda9469f 100644 (file)
@@ -50,8 +50,8 @@ SRCREV = "a8e51b3bb05c6acb1d9b2e3d34f859ddda1677be"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "nss libarchive db file popt xz dbus elfutils python3"
-DEPENDS_append_class-native = " file-replacement-native"
+DEPENDS = "nss libarchive db file popt xz bzip2 dbus elfutils python3"
+DEPENDS_append_class-native = " file-replacement-native bzip2-replacement-native"
 
 inherit autotools gettext pkgconfig python3native
 export PYTHON_ABI