[oe-commits] Saul Wold : eglibc-package: remove /var

git at git.openembedded.org git at git.openembedded.org
Tue May 1 11:43:59 UTC 2012


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

Author: Saul Wold <sgw at linux.intel.com>
Date:   Sat Apr 28 08:23:23 2012 -0700

eglibc-package: remove /var

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"





More information about the Openembedded-commits mailing list