Patchwork [CONSOLIDATED,PULL,17/19] eglibc-package: remove /var

login
register
mail settings
Submitter Saul Wold
Date April 30, 2012, 10:21 p.m.
Message ID <58ad5fc93f312932e422978f7d1841c33346a2a6.1335824356.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/26723/
State Accepted
Commit 35b5fb2dd2131d4c7dc6635c14c6e08ea6926457
Headers show

Comments

Saul Wold - April 30, 2012, 10:21 p.m.
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@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(-)

Patch

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"