Patchwork [2/2] eglibc.inc: Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*

login
register
mail settings
Submitter Andrei Gherzan
Date Aug. 23, 2013, 2:20 p.m.
Message ID <1377267658-14590-2-git-send-email-andrei.gherzan@windriver.com>
Download mbox | patch
Permalink /patch/56349/
State Accepted
Commit 3a86c3905bf8fa724b6827f4be84704a82c115d7
Headers show

Comments

Andrei Gherzan - Aug. 23, 2013, 2:20 p.m.
Kconfig outputs strings with quotation marks. When eglibc tries to see if
the paths exists, uses wildcard make function which doesn't strip out the
quotation marks - checking for path fails. So strip out the quotation
marks from OPTION_EGLIBC_NSSWITCH_FIXED_* option-groups.config.
(see nss/Makefile)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
---
 meta/recipes-core/eglibc/eglibc.inc |    4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 40dd6b5..375b9bc 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -75,6 +75,10 @@  do_configure_prepend() {
 
 do_configure_append() {
 	oe_runmake config
+
+	# Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*. This will
+	# avoid install error.
+	sed -i 's/^OPTION_EGLIBC_NSSWITCH_FIXED_\(.*\)="\(.*\)"$/OPTION_EGLIBC_NSSWITCH_FIXED_\1=\2/' option-groups.config
 }
 
 GLIBC_ADDONS ?= "ports,nptl,libidn"