blob: 8392c1806d72be8ea271d56e326fdfe918ef1309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
+++ 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 = $(localstatedir)/db
endif
inst_vardbdir = $(install_root)$(vardbdir)
|