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-09 21:42:37 +0100 |
commit | 910452727fc277c1caec7612b36c37b58d845350 (patch) | |
tree | aaebaf700a1eb4bbb944e843a05159529fb740e0 /meta/recipes-core/eglibc/eglibc-2.15 | |
parent | 9407895c88e46490d0ef9bb185f73466e7204c15 (diff) | |
download | openembedded-core-contrib-910452727fc277c1caec7612b36c37b58d845350.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
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.15')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch | 19 |
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 @@ + +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 = $(prefix)/var/db + endif + inst_vardbdir = $(install_root)$(vardbdir) + |