glibc: Fix kconfig to work in non interactive mode

Submitted by Khem Raj on March 18, 2015, 6:06 a.m. | Patch ID: 90525

Details

Message ID 1426658818-8179-1-git-send-email-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj March 18, 2015, 6:06 a.m.
For glibc kconfig patch that we have we have three options implemented
defconfig, config and menuconfig
config is what we use and it calls conf program with --oldaskconfig
option which is suppose to behave as expected waiting for inputs from
line oriented program

[YOCTO #6614]

Change-Id: Icb74b0343d57dcbfae5122b0c772d260481ee125
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/glibc/glibc_2.21.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb
index d2e69c4..f57e3f9 100644
--- a/meta/recipes-core/glibc/glibc_2.21.bb
+++ b/meta/recipes-core/glibc/glibc_2.21.bb
@@ -111,7 +111,7 @@  do_configure () {
         fi
         (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
         find ${S} -name "configure" | xargs touch
-        CPPFLAGS="" oe_runconf
+        yes '' | CPPFLAGS="" oe_runconf
 }
 
 rpcsvc = "bootparam_prot.x nlm_prot.x rstat.x \