[OE-core] [PATCH] coreutils: fix search paths for libstdbuf.so

Chunrong Guo B40290 at freescale.com
Tue Mar 25 10:37:16 UTC 2014


        *fix the following error:
        |stdbuf: failed to find 'libstdbuf.so'
        *PKGLIBEXECDIR is the search paths for libstdbuf.so
        |PKGLIBEXECDIR='$(pkglibexecdir)'
        |pkglibexecdir='${libexecdir}/${PACKAGE}'

Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
 meta/recipes-core/coreutils/coreutils_8.22.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-core/coreutils/coreutils_8.22.bb b/meta/recipes-core/coreutils/coreutils_8.22.bb
index a26aa02..ed5fc84 100644
--- a/meta/recipes-core/coreutils/coreutils_8.22.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.22.bb
@@ -71,8 +71,6 @@ do_install_append() {
 	# in update-alternatives to fail, therefore use lbracket - the name used
 	# for the actual source file.
 	mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN}
-	install -d ${D}${libdir}/coreutils
-	mv ${D}${libexecdir}/coreutils/libstdbuf.so ${D}${libdir}/coreutils
 }
 
 inherit update-alternatives
@@ -101,3 +99,4 @@ python __anonymous() {
 }
 
 BBCLASSEXTEND = "native"
+FILES_${PN}-dbg += "${libexecdir}/coreutils/.debug/*"
-- 
1.8.3.2





More information about the Openembedded-core mailing list