summaryrefslogtreecommitdiff
path: root/meta/recipes-core/eglibc/eglibc-2.15
diff options
context:
space:
mode:
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 4c83aa25d..8392c1806 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)