Skip to contentSkip to conversation

glibc: avoid configure stall by feeding prompt

PATCH In review Benjamin Esquivel 3 participants 5 messages Mar 18, 2015 – Mar 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc: avoid configure stall by feeding prompt

Addresses a stall (by prompt) condition of the run.do_configure at when executed directly from the workdir, like when using the devshell.

[YOCTO 7369]

---
 meta/recipes-core/glibc/glibc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc.inc +1 -1
index 767d4b8..835f4ae 100644
@@ -82,7 +82,7 @@ do_configure_prepend() {
 }
 
 do_configure_append() {
-	oe_runmake config
+	yes '' | oe_runmake config
 
 	# Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*. This will
 	# avoid install error.
Signature · 1 line
1.8.4.5
#1 lore raw

That's ok

Quoted 34 lines · Benjamin Esquivel

Addresses a stall (by prompt) condition of the run.do_configure at when executed directly from the workdir, like when using the devshell.

[YOCTO 7369]

---
 meta/recipes-core/glibc/glibc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc.inc +1 -1
index 767d4b8..835f4ae 100644
@@ -82,7 +82,7 @@ do_configure_prepend() {
 }
 
 do_configure_append() {
-       oe_runmake config
+       yes '' | oe_runmake config
 
        # Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*. This

will

        # avoid install error.
--
1.8.4.5

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw

Hi Khem,

Quoted 2 lines · Khem Raj

That's ok

Does this complement, replace, or is obsoleted by the patch from you that does the same yes| trick but at a different stage?

Ross

#3 lore raw
Quoted 11 lines · Ross

Hi Khem,

On 18 March 2015 at 22:29, Khem Raj <[email protected] <mailto:[email protected]>> wrote:
That's ok

Does this complement, replace, or is obsoleted by the patch from you that does the same yes| trick but at a different stage?

it replaces mine and is a better fix.

Quoted 1 line

Ross

#4 lore raw
Quoted 2 lines · Khem Raj

it replaces mine and is a better fix.

Thanks Khem.

Ross