summaryrefslogtreecommitdiffstats
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:38:27 +0000
commit745b146a379c9ed3ceec16a909e315676ffde049 (patch)
tree676ceb00eaa33e65367af744ccf01f183974a8bd
parentc2ea0816af297e0cd742688e4b1c48c57976b623 (diff)
downloadpoky-745b146a379c9ed3ceec16a909e315676ffde049.tar.gz
libc-common: Ensure sysconfdir exists before installing files to it
Depending on the eglibc configuaration, the directory may or may not exist. (From OE-Core rev: aa89b80a42297196c7bbba55fe2396ba1f98acc7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
4 h=`echo $r|sed -e's,\.x$,.h,'` 4 h=`echo $r|sed -e's,\.x$,.h,'`
5 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${D}/${includedir}/rpcsvc/ 5 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${D}/${includedir}/rpcsvc/
6 done 6 done
7 install -d ${D}/${sysconfdir}/
7 install -m 0644 ${WORKDIR}/etc/ld.so.conf ${D}/${sysconfdir}/ 8 install -m 0644 ${WORKDIR}/etc/ld.so.conf ${D}/${sysconfdir}/
8 install -d ${D}${localedir} 9 install -d ${D}${localedir}
9 make -f ${WORKDIR}/generate-supported.mk IN="${S}/localedata/SUPPORTED" OUT="${WORKDIR}/SUPPORTED" 10 make -f ${WORKDIR}/generate-supported.mk IN="${S}/localedata/SUPPORTED" OUT="${WORKDIR}/SUPPORTED"