Gentoo Archives: gentoo-kernel

From: Mike Doty <kingtaco@g.o>
To: gentoo-kernel@l.g.o
Subject: Re: [gentoo-kernel] How works Genkernel's non-interactive 'make oldconfig'
Date: Fri, 15 Jun 2007 21:30:46
Message-Id: 467304D2.6090907@gentoo.org
In Reply to: Re: [gentoo-kernel] How works Genkernel's non-interactive 'make oldconfig' by Greg KH
1 Greg KH wrote:
2 > On Fri, Jun 15, 2007 at 09:35:30PM +0200, Sam Ravnborg wrote:
3 >> On Fri, Jun 15, 2007 at 03:35:31PM +0200, Arne St?cker wrote:
4 >>> Hi,
5 >>> I don't know if this the right mailing list, but I give it a try.
6 >>>
7 >>> I'm writing a software to manage the upgrading, rebuild, uninstallation of the
8 >>> linux kernel.
9 >>>
10 >>> Now, what I need is a non-interactive 'make oldconfig' like genkernel does it.
11 >>> I looked at the code, but couldn't find the right line. Can anyone tell me at
12 >>> which files and lines I have to look for this feature. Thanks.
13 >> try:
14 >> echo y | make oldconfig
15 >
16 > That's not really safe. You want to use the defaults, which is what I
17 > think 'silentoldconfig' does. You really don't want to enable an option
18 > like "Add self-destruct mode" to the kernel if it is newly present :)
19 Where's the fun in that!!
20
21 --taco
22 --
23 gentoo-kernel@g.o mailing list