]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc-package: remove /var
authorSaul Wold <sgw@linux.intel.com>
Sat, 28 Apr 2012 15:23:23 +0000 (08:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 May 2012 11:36:18 +0000 (12:36 +0100)
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
meta/recipes-core/eglibc/eglibc_2.15.bb

index 0db221f128c0a1eb5b72cbaea15a97c26e0ca0f4..7d975671daf8bf7498b2202fee4222c0202517fb 100644 (file)
@@ -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
 
index 713efc358b4c2df2c9982f12e81ec4a56a80c0ba..f5219d1df35cc292a2484b48cd269819ba03d865 100644 (file)
@@ -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"