[oe-commits] Nitin A Kamble : eglibc: fix installed but not packaged files

git version control git at git.openembedded.org
Wed Jul 13 11:34:54 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 9070c91c1242ec5ea8a8c7f0dd4cf40e8ce59221
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9070c91c1242ec5ea8a8c7f0dd4cf40e8ce59221

Author: Nitin A Kamble <nitin.a.kamble at intel.com>
Date:   Thu Jul  7 09:17:49 2011 -0700

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

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>

---

 meta/recipes-core/eglibc/eglibc-package.inc |    4 ++++
 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 1a9953d..344f5e4 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}





More information about the Openembedded-commits mailing list