Skip to contentSkip to conversation

rpm: add explicit dependency on bzip2-replacement-native for native builds

PATCH New [email protected] 1 participant 1 message Jun 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpm: add explicit dependency on bzip2-replacement-native for native builds

From: Ming Liu <[email protected]>

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

---
 meta/recipes-devtools/rpm/rpm_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/rpm/rpm_git.bb +2 -2
index 2310ee6..e7cba98 100644
@@ -43,8 +43,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
Signature · 1 line
2.7.4