summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-13 13:31:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-14 14:32:29 +0000
commitaa89b80a42297196c7bbba55fe2396ba1f98acc7 (patch)
treeb9c3619ba61cd60987ba2d1fe94f73108beba1cf /meta
parent9987998d7431fb33b12a7e210024a8193b43e717 (diff)
downloadopenembedded-core-aa89b80a42297196c7bbba55fe2396ba1f98acc7.tar.gz
openembedded-core-aa89b80a42297196c7bbba55fe2396ba1f98acc7.tar.bz2
openembedded-core-aa89b80a42297196c7bbba55fe2396ba1f98acc7.zip
libc-common: Ensure sysconfdir exists before installing files to it
Depending on the eglibc configuaration, the directory may or may not exist. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/libc-common.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass
index 0f499366db..67b018b753 100644
--- a/meta/classes/libc-common.bbclass
+++ b/meta/classes/libc-common.bbclass
@@ -4,6 +4,7 @@ do_install() {
h=`echo $r|sed -e's,\.x$,.h,'`
install -m 0644 ${S}/sunrpc/rpcsvc/$h ${D}/${includedir}/rpcsvc/
done
+ install -d ${D}/${sysconfdir}/
install -m 0644 ${WORKDIR}/etc/ld.so.conf ${D}/${sysconfdir}/
install -d ${D}${localedir}
make -f ${WORKDIR}/generate-supported.mk IN="${S}/localedata/SUPPORTED" OUT="${WORKDIR}/SUPPORTED"