diff options
| -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 2f66632b66..5f518d22d1 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() { | |||
| 28 | oe_runmake PREFIX=${prefix} DESTDIR=${D} install | 28 | oe_runmake PREFIX=${prefix} DESTDIR=${D} install |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | do_install_append_class-target() { | ||
| 32 | sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${libdir},g' | ||
| 33 | } | ||
| 34 | |||
| 31 | PACKAGES =+ "update-alternatives-opkg" | 35 | PACKAGES =+ "update-alternatives-opkg" |
| 32 | FILES_update-alternatives-opkg = "${bindir}/update-alternatives" | 36 | FILES_update-alternatives-opkg = "${bindir}/update-alternatives" |
| 33 | RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth" | 37 | RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth" |
