diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-05-09 11:08:57 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-11 17:50:50 +0100 |
commit | 2e1974d774a0e1850cbf3e7a8a2f39729ad1b816 (patch) | |
tree | e35d050450e317326a7e0b4da9e94ffe71b24a93 /meta/recipes-core/eglibc/eglibc-2.15/use-localstatedir-for-vardbdir.patch | |
parent | b88a0e58766a5e43f2a8f24eed2f1549f9299966 (diff) | |
download | poky-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.patch | 21 |
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 | |||
2 | localstatedir is set to be the /var directory, so use | ||
3 | it for the base of the vardbdir so it's properly relocatable. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
8 | |||
9 | Index: 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 | |||