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>
+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
# Directory for the database files and Makefile for nss_db.
ifndef vardbdir
-vardbdir = /var/db
-+vardbdir = $(prefix)/var/db
++vardbdir = $(localstatedir)/db
endif
inst_vardbdir = $(install_root)$(vardbdir)
SRCREV = "17386"
DEPENDS += "gperf-native"
-PR = "r8"
+PR = "r9"
PR_append = "+svnr${SRCPV}"
EGLIBC_BRANCH="eglibc-2_15"
file://ppc-sqrt_finite.patch \
file://GLRO_dl_debug_mask.patch \
file://initgroups_keys.patch \
- file://add-prefix-to-var.patch \
+ file://use-localstatedir-for-vardbdir.patch \
"
LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \