aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2009-07-09 04:16:56 +0000
committerKoen Kooi <koen@openembedded.org>2009-07-16 01:08:21 +0200
commit13a89f86f4b48f10743b7346dfd0120e0125877a (patch)
treed7506e5a979400d8462a912ab2f4703686bfbaca
parent3bfbef2d3ab4e6ca62be3c509850b1d6793c193b (diff)
downloadopenembedded-13a89f86f4b48f10743b7346dfd0120e0125877a.tar.gz
openembedded-13a89f86f4b48f10743b7346dfd0120e0125877a.tar.bz2
openembedded-13a89f86f4b48f10743b7346dfd0120e0125877a.zip
glibc-stage.inc: don't overwrite gnu/stubs.h
"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@cbnco.com>
-rw-r--r--recipes/glibc/glibc-stage.inc10
1 files changed, 4 insertions, 6 deletions
diff --git a/recipes/glibc/glibc-stage.inc b/recipes/glibc/glibc-stage.inc
index 2b7b303c14..cb9ab04e1f 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/