List Info

Thread: How works Genkernel's non-interactive 'make oldconfig'




How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
Germany
2007-06-15 08:35:31
Hi,
I don't know if this the right mailing list, but I give it a
try.

I'm writing a software to manage the upgrading, rebuild,
uninstallation of the 
linux kernel.

Now, what I need is a non-interactive 'make oldconfig' like
genkernel does it. 
I looked at the code, but couldn't find the right line. Can
anyone tell me at 
which files and lines I have to look for this feature.
Thanks.

regards
 Arne
-- 
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
United States
2007-06-15 10:46:23
On Fri, 2007-06-15 at 15:35 +0200, Arne Stäcker wrote:
> Hi,
> I don't know if this the right mailing list, but I give
it a try.
> 
> I'm writing a software to manage the upgrading,
rebuild, uninstallation of the 
> linux kernel.
> 
> Now, what I need is a non-interactive 'make oldconfig'
like genkernel does it. 
> I looked at the code, but couldn't find the right line.
Can anyone tell me at 
> which files and lines I have to look for this feature.
Thanks.
> 
> regards
>  Arne

I think you want make silentoldconfig

Daniel

-- 
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
Germany
2007-06-15 10:57:28
Am Freitag, 15. Juni 2007 schrieb Daniel Gryniewicz:
> I think you want make silentoldconfig
>
> Daniel
No, 'make silentoldconfig' just suppresses the already
answered (by the old 
config) options. It still prompt for new options.

Arne

-- 
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
Denmark
2007-06-15 14:35:30
On Fri, Jun 15, 2007 at 03:35:31PM +0200, Arne Stäcker
wrote:
> Hi,
> I don't know if this the right mailing list, but I give
it a try.
> 
> I'm writing a software to manage the upgrading,
rebuild, uninstallation of the 
> linux kernel.
> 
> Now, what I need is a non-interactive 'make oldconfig'
like genkernel does it. 
> I looked at the code, but couldn't find the right line.
Can anyone tell me at 
> which files and lines I have to look for this feature.
Thanks.

try:
echo y | make oldconfig

	Sam
-- 
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
United States
2007-06-15 16:05:41
On Fri, Jun 15, 2007 at 09:35:30PM +0200, Sam Ravnborg
wrote:
> On Fri, Jun 15, 2007 at 03:35:31PM +0200, Arne St?cker
wrote:
> > Hi,
> > I don't know if this the right mailing list, but I
give it a try.
> > 
> > I'm writing a software to manage the upgrading,
rebuild, uninstallation of the 
> > linux kernel.
> > 
> > Now, what I need is a non-interactive 'make
oldconfig' like genkernel does it. 
> > I looked at the code, but couldn't find the right
line. Can anyone tell me at 
> > which files and lines I have to look for this
feature. Thanks.
> 
> try:
> echo y | make oldconfig

That's not really safe.  You want to use the defaults, which
is what I
think 'silentoldconfig' does.  You really don't want to
enable an option
like "Add self-destruct mode" to the kernel if it
is newly present 

thanks,

greg k-h
-- 
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
Germany
2007-06-15 16:22:24
Am Freitag, 15. Juni 2007 schrieb Sam Ravnborg:
> try:
> echo y | make oldconfig
>
> 	Sam
Great. Works like a charm.
Thanks.

 Arne


-- 
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
Germany
2007-06-15 16:25:17
Am Freitag, 15. Juni 2007 schrieb Greg KH:
> That's not really safe.  You want to use the defaults,
which is what I
> think 'silentoldconfig' does.  You really don't want to
enable an option
> like "Add self-destruct mode" to the kernel
if it is newly present 
>
> thanks,
>
> greg k-h
Good point. I will then use "echo n | make
oldconfig" by default.

 Arne

-- 
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
United States
2007-06-15 16:29:54
Greg KH wrote:
> On Fri, Jun 15, 2007 at 09:35:30PM +0200, Sam Ravnborg
wrote:
>> On Fri, Jun 15, 2007 at 03:35:31PM +0200, Arne
St?cker wrote:
>>> Hi,
>>> I don't know if this the right mailing list,
but I give it a try.
>>>
>>> I'm writing a software to manage the upgrading,
rebuild, uninstallation of the 
>>> linux kernel.
>>>
>>> Now, what I need is a non-interactive 'make
oldconfig' like genkernel does it. 
>>> I looked at the code, but couldn't find the
right line. Can anyone tell me at 
>>> which files and lines I have to look for this
feature. Thanks.
>> try:
>> echo y | make oldconfig
> 
> That's not really safe.  You want to use the defaults,
which is what I
> think 'silentoldconfig' does.  You really don't want to
enable an option
> like "Add self-destruct mode" to the kernel
if it is newly present 
Where's the fun in that!!

--taco
-- 
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
user name
2007-06-15 16:39:38
On 6/15/07, Arne Stäcker <arnestaeckerweb.de> wrote:
> Am Freitag, 15. Juni 2007 schrieb Greg KH:
> > That's not really safe.  You want to use the
defaults, which is what I
> > think 'silentoldconfig' does.  You really don't
want to enable an option
> > like "Add self-destruct mode" to the
kernel if it is newly present 
> >
> > thanks,
> >
> > greg k-h
> Good point. I will then use "echo n | make
oldconfig" by default.

I'm not sure that really removes the danger.  What if they
split out a
driver you need into some other config option?  If there's a
way to
echo a newline to all the questions, that would at least
accept the
defaults.

Pardon me for being reactionary, but does
"non-interactive kernel
configuration" give anyone else the cold sweats?

-- 
Ryan W Sims
--
gentoo-kernelgentoo.org mailing list


Re: How works Genkernel's non-interactive 'make oldconfig'
country flaguser name
United States
2007-06-15 16:41:26
On Fri, Jun 15, 2007 at 11:25:17PM +0200, Arne St?cker
wrote:
> Am Freitag, 15. Juni 2007 schrieb Greg KH:
> > That's not really safe.  You want to use the
defaults, which is what I
> > think 'silentoldconfig' does.  You really don't
want to enable an option
> > like "Add self-destruct mode" to the
kernel if it is newly present 
> >
> > thanks,
> >
> > greg k-h
> Good point. I will then use "echo n | make
oldconfig" by default.

Are you sure you want that too?  What if there's the new
"Make
your box run twice as fast" option?  You need to pick
the default option
value, which I'm pretty sure that 'silentoldconfig' does.

So please use that one to get things "correct".

thanks,

greg k-h
-- 
gentoo-kernelgentoo.org mailing list


[1-10] [11]

about | contact  Other archives ( Real Estate discussion Medical topics )