summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
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-09 21:42:52 +0100
commit54a1cf230b1fe1b68426064929bd92c80f6f8f75 (patch)
tree46f0275b60c4735410e9ad7381e02a1492de5139 /meta/recipes-core
parent9e2638240db693b171cd8847b6c019a7047c2a1a (diff)
downloadpoky-54a1cf230b1fe1b68426064929bd92c80f6f8f75.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: 910452727fc277c1caec7612b36c37b58d845350) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch19
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.15.bb3
2 files changed, 21 insertions, 1 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
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index f5219d1df3..e61816d884 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -3,7 +3,7 @@ require eglibc.inc
3SRCREV = "17386" 3SRCREV = "17386"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r7" 6PR = "r8"
7PR_append = "+svnr${SRCPV}" 7PR_append = "+svnr${SRCPV}"
8 8
9EGLIBC_BRANCH="eglibc-2_15" 9EGLIBC_BRANCH="eglibc-2_15"
@@ -23,6 +23,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
23 file://ppc-sqrt_finite.patch \ 23 file://ppc-sqrt_finite.patch \
24 file://GLRO_dl_debug_mask.patch \ 24 file://GLRO_dl_debug_mask.patch \
25 file://initgroups_keys.patch \ 25 file://initgroups_keys.patch \
26 file://add-prefix-to-var.patch \
26 " 27 "
27LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \ 28LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
28 file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ 29 file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \