From: André Draszik <[email protected]>
---
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 2f66632..5f518d2 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -28,6 +28,10 @@ do_install() {
oe_runmake PREFIX=${prefix} DESTDIR=${D} install
}
+do_install_append_class-target() {
+ sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g;
s,/usr/lib,${libdir},g'
+}
+
PACKAGES =+ "update-alternatives-opkg"
FILES_update-alternatives-opkg = "${bindir}/update-alternatives"
RPROVIDES_update-alternatives-opkg = "update-alternatives
update-alternatives-cworth"
--
2.1.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core