[OE-core] [CONSOLIDATED PULL 17/19] eglibc-package: remove /var

Saul Wold sgw at linux.intel.com
Mon Apr 30 22:21:01 UTC 2012


This is a newly installed directory and Makefile that is not needed
in an embedded setup

It fixes:
ERROR: For recipe eglibc, the following files/directories were installed but not shipped in any package:
ERROR:   /var
ERROR:   /var/db
ERROR:   /var/db/Makefile

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 meta/recipes-core/eglibc/eglibc-package.inc |    1 +
 meta/recipes-core/eglibc/eglibc_2.15.bb     |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 0db221f..7d97567 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -77,6 +77,7 @@ PERLPATH_virtclass-nativesdk = "/usr/bin/env perl"
 
 do_install_append () {
 	rm -f ${D}${sysconfdir}/localtime
+	rm -rf ${D}${localstatedir}
 
 	oe_multilib_header bits/syscall.h
 
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index 713efc3..f5219d1 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -3,7 +3,7 @@ require eglibc.inc
 SRCREV = "17386"
 
 DEPENDS += "gperf-native"
-PR = "r6"
+PR = "r7"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_15"
-- 
1.7.7.6





More information about the Openembedded-core mailing list