[oe-commits] Richard Purdie : libc-common: Ensure sysconfdir exists before installing files to it

git at git.openembedded.org git at git.openembedded.org
Thu Dec 13 15:22:31 UTC 2012


Module: openembedded-core.git
Branch: danny
Commit: 20e897ca36734cbd77e53e34d9993c941fde1081
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=20e897ca36734cbd77e53e34d9993c941fde1081

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Nov 13 13:31:55 2012 +0000

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 at linuxfoundation.org>

---

 meta/classes/libc-common.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass
index 0f49936..67b018b 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"





More information about the Openembedded-commits mailing list