diff options
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils_git.bb')
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 4 |
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 | ||
29 | do_install_append_class-target() { | ||
30 | sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${libdir},g' | ||
31 | } | ||
32 | |||
29 | PACKAGES =+ "update-alternatives-opkg" | 33 | PACKAGES =+ "update-alternatives-opkg" |
30 | FILES_update-alternatives-opkg = "${bindir}/update-alternatives" | 34 | FILES_update-alternatives-opkg = "${bindir}/update-alternatives" |
31 | RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth" | 35 | RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth" |