bbdbg: Add libarchive-native to LD_LIBRARY_PATH
libarchive.so.13 is also required by opkg. This dependency was hidden as
I had the SO installed as a system component in my distro.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ia21b64796dabe2166fd14db6189681410cb66f44
diff --git a/bbdbg/bbdbg b/bbdbg/bbdbg
index a94af91..e74ee11 100755
--- a/bbdbg/bbdbg
+++ b/bbdbg/bbdbg
@@ -29,7 +29,7 @@
BBDBG_PKGS=$@
BBDBG_ROOT=$(mktemp -t --directory bbdbg.XXX)
-BBDBG_LIBS=${BBDBG_PATH}/tmp/sysroots-components/$(uname -m)/libsolv-native/usr/lib
+BBDBG_LIBS=${BBDBG_PATH}/tmp/sysroots-components/$(uname -m)/libsolv-native/usr/lib:${BBDBG_PATH}/tmp/sysroots-components/$(uname -m)/libarchive-native/usr/lib
BBDBG_OPKG=${BBDBG_PATH}/tmp/sysroots-components/$(uname -m)/opkg-native/usr/bin/opkg
BBDBG_CONF=$(find ${BBDBG_PATH}/tmp/work/*/obmc-phosphor-image -name opkg.conf -exec grep -lE ^src \{\} \;)