diff options
author | André Draszik <git@andred.net> | 2015-07-24 13:48:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-09 16:37:45 -0700 |
commit | 3ff9e848835e0806138d54649a9c28c6c8d99d0a (patch) | |
tree | 89495b4e2801ea76f8a60df4bbc21d7a5fdb00d3 /meta | |
parent | 01a50376df89291d2d350d22c8d9de49604a0933 (diff) | |
download | poky-3ff9e848835e0806138d54649a9c28c6c8d99d0a.tar.gz |
opkg-utils: use ${bindir} instead of hardcoding /usr/bin
(From OE-Core rev: 48e04a93c357fb494470d2f175e644a6f43a7d63)
(From OE-Core rev: 65ea72434fe227374147041b4b5fff19d8a18efb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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" |