Skip to contentSkip to conversation

Defaulting new questions in scripts/Configure?

DISCUSSION Dale Amon 3 participants 4 messages Oct 25, 2001

lore
Share & tools
lore

Dale Amon

author
#0 lore raw

I've just skimmed through the code in Configure to see if there is a way to make it shut up and just default everything new to NO so I can use it inside a noninteractive script.

Did I miss it or is it something that isn't there to be found?

I think I'd not be the only one to find it useful to make it be seen and not heard during a make oldconfig :-)

Signature · 5 lines
------------------------------------------------------
Use Linux: A computer        Dale Amon, CEO/MD
is a terrible thing          Village Networking Ltd
to waste.                    Belfast, Northern Ireland
------------------------------------------------------
#1 lore raw
Quoted 7 lines · Dale Amon

I've just skimmed through the code in Configure to see if there is a way to make it shut up and just default everything new to NO so I can use it inside a noninteractive script.

Did I miss it or is it something that isn't there
to be found?

yes

author
#2 lore raw
In reply to Dale Amon
Quoted 14 lines · Gert-Jan Rodenburg
Quoted 11 lines · Dale Amon

I've just skimmed through the code in Configure to see if there is a way to make it shut up and just default everything new to NO so I can use it inside a noninteractive script.

Did I miss it or is it something that isn't there to be found?

I think I'd not be the only one to find it useful to make it be seen and not heard during a make oldconfig :-)

Quoted 5 lines

no "" | make oldconfig

Not sure if it works, but in the Linux From Scratch manual they do the oposite -> yes "" | make config

Jonathan Morton suggested the yes is the answer as well. I tested both out and diffed against one done manually. no seems to just die, yes does just the right thing.

Thanks much to all who replied.

Signature · 5 lines
------------------------------------------------------
Use Linux: A computer        Dale Amon, CEO/MD
is a terrible thing          Village Networking Ltd
to waste.                    Belfast, Northern Ireland
------------------------------------------------------
#3 lore raw
In reply to Dale Amon
Quoted 12 lines · Dale Amon
Quoted 11 lines
Quoted 6 lines

Did I miss it or is it something that isn't there
to be found?

I think I'd not be the only one to find it useful
to make it be seen and not heard during a
make oldconfig :-)

no "" | make oldconfig

Not sure if it works, but in the Linux From Scratch manual they do the oposite -> yes "" | make config

Quoted 6 lines

Jonathan Morton suggested the yes is the answer as well. I tested both out and diffed against one done manually. no seems to just die, yes does just the right thing.

Thanks much to all who replied.

Euhm, my fault.

yes n "" | make config should work.

*note to self -> next time, check before sending in 'hints'n'tips *

Gr.

Gert-Jan