[oe-commits] Saul Wold : eglibc: Add patch to fix /var installation location

git at git.openembedded.org git at git.openembedded.org
Wed May 9 20:50:38 UTC 2012


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

Author: Saul Wold <sgw at linux.intel.com>
Date:   Wed May  9 11:08:57 2012 -0700

eglibc: Add patch to fix /var installation location

This address the packaging issues since it's installed in the wrong place
ERROR: For recipe eglibc-nativesdk, 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>

---

 .../eglibc/eglibc-2.15/add-prefix-to-var.patch     |   19 +++++++++++++++++++
 meta/recipes-core/eglibc/eglibc_2.15.bb            |    3 ++-
 2 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch b/meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch
new file mode 100644
index 0000000..4c83aa2
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch
@@ -0,0 +1,19 @@
+
+Upstream-Status: Pending
+
+Signed-off-by: Saul Wold <sgw at linux.intel.com>
+
+
+Index: libc/Makeconfig
+===================================================================
+--- libc.orig/Makeconfig
++++ libc/Makeconfig
+@@ -293,7 +293,7 @@ inst_sysconfdir = $(install_root)$(sysco
+ 
+ # Directory for the database files and Makefile for nss_db.
+ ifndef vardbdir
+-vardbdir = /var/db
++vardbdir = $(prefix)/var/db
+ endif
+ inst_vardbdir = $(install_root)$(vardbdir)
+ 
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index f5219d1..e61816d 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 = "r7"
+PR = "r8"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_15"
@@ -23,6 +23,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
            file://ppc-sqrt_finite.patch \
            file://GLRO_dl_debug_mask.patch \
            file://initgroups_keys.patch \
+           file://add-prefix-to-var.patch \
           "
 LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
       file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \





More information about the Openembedded-commits mailing list