]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc: fix installed but not packaged files
authorNitin A Kamble <nitin.a.kamble@intel.com>
Thu, 7 Jul 2011 16:17:49 +0000 (09:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Jul 2011 11:34:11 +0000 (12:34 +0100)
Fixes these package QA warnings:

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

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
meta/recipes-core/eglibc/eglibc-package.inc

index 1a9953d61c7dbe8d646aef046bc4861779309b15..344f5e4ee346fc67c20cacc772734bd6c4117081 100644 (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}