[OE-core] [PATCH 2/2] opkg-utils: store alternatives in nonarch_libdir
Dan McGregor
danismostlikely at gmail.com
Thu Jan 14 20:47:04 UTC 2016
From: Daniel McGregor <daniel.mcgregor at vecima.com>
opkg-utils-native stores alternative info in /usr/lib, so do the
same on the target.
Signed-off-by: Daniel McGregor <daniel.mcgregor at vecima.com>
---
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index b242d1f..1bc561c 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -34,7 +34,7 @@ do_install() {
do_install_append_class-target() {
if [ -e "${D}${bindir}/update-alternatives" ]; then
- sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${libdir},g'
+ sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${nonarch_libdir},g'
fi
}
--
2.7.0
More information about the Openembedded-core
mailing list