[oe] [PATCH 2/3] glibc-stage.inc: don't overwrite gnu/stubs.h

Michael Smith msmith at cbnco.com
Thu Jul 9 14:16:56 UTC 2009


"make install" installs the full version. do_stage() was overwriting
it with an empty file that tricked openssh into calling setlogin()
and logging benign errors.

Also removing a couple of lines not required anymore, I think because
"make install-headers install-lib" was switched to "make install"
in e96e82cd.

Tested with 2.6.1 on x86.

Signed-off-by: Michael Smith <msmith at cbnco.com>
---
 recipes/glibc/glibc-stage.inc |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/recipes/glibc/glibc-stage.inc b/recipes/glibc/glibc-stage.inc
index 2b7b303..cb9ab04 100644
--- a/recipes/glibc/glibc-stage.inc
+++ b/recipes/glibc/glibc-stage.inc
@@ -5,12 +5,10 @@ do_stage() {
 		   '${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6' \
 		   install
 
-	install -d ${STAGING_INCDIR}/gnu \
-		   ${STAGING_INCDIR}/bits \
-		   ${STAGING_INCDIR}/rpcsvc
-	install -m 0644 ${S}/include/gnu/stubs.h ${STAGING_INCDIR}/gnu/
-	install -m 0644 ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/
-	install -m 0644 misc/syscall-list.h ${STAGING_INCDIR}/bits/syscall.h
+	# "make install" omits some (not all) RPC headers that other distros
+	# ship.
+	install -d ${STAGING_INCDIR}/rpcsvc
+
 	for r in ${rpcsvc}; do
 		h=`echo $r|sed -e's,\.x$,.h,'`
 		install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/
-- 
1.6.3





More information about the Openembedded-devel mailing list