eglibc: fix installed but not packaged files

Fixes these package QA warnings:

WARNING: For recipe eglibc, the following files were installed but not shipped in any package:
WARNING:   /etc/localtime

(From OE-Core rev: 9070c91c1242ec5ea8a8c7f0dd4cf40e8ce59221)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Nitin A Kamble
2011-07-07 09:17:49 -07:00
committed by Richard Purdie
parent ef0d0e105f
commit c661f8e0d5

View File

@@ -88,6 +88,10 @@ DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through
inherit libc-common
do_install_append () {
rm -f ${D}${sysconfdir}/localtime
}
do_install_locale () {
dest=${D}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}
install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} ${dest}${datadir}