summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-07-07 09:17:49 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-13 12:34:30 +0100
commitc661f8e0d5a9a9e61ee471d30b97e89ccfab4545 (patch)
tree7a348cfdec35e6f3714c1e2574d8192f226fa9d1
parentef0d0e105fdbb759f8a98a48fa0026586e663c40 (diff)
downloadpoky-c661f8e0d5a9a9e61ee471d30b97e89ccfab4545.tar.gz
poky-c661f8e0d5a9a9e61ee471d30b97e89ccfab4545.tar.bz2
poky-c661f8e0d5a9a9e61ee471d30b97e89ccfab4545.zip
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>
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 1a9953d61c..344f5e4ee3 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -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}