aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.15
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-05-09 11:08:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-11 17:50:03 +0100
commit22a2297c712d3b3ca0335197943483218c92ef3e (patch)
tree5f147cbf0fe5c7c6c158fa547d1d9a3bde202a15 /meta/recipes-core/eglibc/eglibc-2.15
parentac4201b714c83c614113bfa735d0a2fc6f64db99 (diff)
downloadopenembedded-core-contrib-22a2297c712d3b3ca0335197943483218c92ef3e.tar.gz
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@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.15')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch (renamed from meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch)6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch b/meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch
index 4c83aa25dd..8392c1806d 100644
--- a/meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch
@@ -1,9 +1,11 @@
+localstatedir is set to be the /var directory, so use
+it for the base of the vardbdir so it's properly relocatable.
+
Upstream-Status: Pending
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-
Index: libc/Makeconfig
===================================================================
--- libc.orig/Makeconfig
@@ -13,7 +15,7 @@ Index: libc/Makeconfig
# Directory for the database files and Makefile for nss_db.
ifndef vardbdir
-vardbdir = /var/db
-+vardbdir = $(prefix)/var/db
++vardbdir = $(localstatedir)/db
endif
inst_vardbdir = $(install_root)$(vardbdir)