summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils_git.bb')
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 2800a5deb7..8835527d2c 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -26,6 +26,10 @@ do_install() {
26 oe_runmake PREFIX=${prefix} DESTDIR=${D} install 26 oe_runmake PREFIX=${prefix} DESTDIR=${D} install
27} 27}
28 28
29do_install_append_class-target() {
30 sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${libdir},g'
31}
32
29PACKAGES =+ "update-alternatives-opkg" 33PACKAGES =+ "update-alternatives-opkg"
30FILES_update-alternatives-opkg = "${bindir}/update-alternatives" 34FILES_update-alternatives-opkg = "${bindir}/update-alternatives"
31RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth" 35RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth"