summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch
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:50 +0100
commit2e1974d774a0e1850cbf3e7a8a2f39729ad1b816 (patch)
treee35d050450e317326a7e0b4da9e94ffe71b24a93 /meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch
parentb88a0e58766a5e43f2a8f24eed2f1549f9299966 (diff)
downloadpoky-2e1974d774a0e1850cbf3e7a8a2f39729ad1b816.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 (From OE-Core rev: 22a2297c712d3b3ca0335197943483218c92ef3e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch b/meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch
new file mode 100644
index 0000000000..8392c1806d
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch
@@ -0,0 +1,21 @@
1
2localstatedir is set to be the /var directory, so use
3it for the base of the vardbdir so it's properly relocatable.
4
5Upstream-Status: Pending
6
7Signed-off-by: Saul Wold <sgw@linux.intel.com>
8
9Index: libc/Makeconfig
10===================================================================
11--- libc.orig/Makeconfig
12+++ libc/Makeconfig
13@@ -293,7 +293,7 @@ inst_sysconfdir = $(install_root)$(sysco
14
15 # Directory for the database files and Makefile for nss_db.
16 ifndef vardbdir
17-vardbdir = /var/db
18+vardbdir = $(localstatedir)/db
19 endif
20 inst_vardbdir = $(install_root)$(vardbdir)
21