summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch19
1 files changed, 19 insertions, 0 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 0000000000..4c83aa25dd
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch
@@ -0,0 +1,19 @@
1
2Upstream-Status: Pending
3
4Signed-off-by: Saul Wold <sgw@linux.intel.com>
5
6
7Index: libc/Makeconfig
8===================================================================
9--- libc.orig/Makeconfig
10+++ libc/Makeconfig
11@@ -293,7 +293,7 @@ inst_sysconfdir = $(install_root)$(sysco
12
13 # Directory for the database files and Makefile for nss_db.
14 ifndef vardbdir
15-vardbdir = /var/db
16+vardbdir = $(prefix)/var/db
17 endif
18 inst_vardbdir = $(install_root)$(vardbdir)
19