public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] genkernel without oldconfig
@ 2010-08-15 16:15 Daniel D Jones
  2010-08-15 16:45 ` Marc Joliet
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel D Jones @ 2010-08-15 16:15 UTC (permalink / raw
  To: gentoo-user

Is there any way to run genkernel without it running the oldconfig command?  I 
can work around the issue by saving my .config file to a different name, then 
using --xconfig and loading the saved file but it would be nice to just tell it 
not to alter the existing .config file.  It may be that I'm just missing it but 
man pages and Google have not provided a solution.

-- 
"It is not materialism that is the chief curse of the world, as pastors teach, 
but idealism. Men get into trouble by taking their visions and hallucinations 
too seriously." - H.L. Mencken



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] genkernel without oldconfig
  2010-08-15 16:15 [gentoo-user] genkernel without oldconfig Daniel D Jones
@ 2010-08-15 16:45 ` Marc Joliet
  2010-08-16  0:32   ` Daniel D Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Joliet @ 2010-08-15 16:45 UTC (permalink / raw
  To: Gentoo-User ML

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

Am Sun, 15 Aug 2010 12:15:57 -0400
schrieb Daniel D Jones <ddjones@riddlemaster.org>:

> Is there any way to run genkernel without it running the oldconfig command?  I 
> can work around the issue by saving my .config file to a different name, then 
> using --xconfig and loading the saved file but it would be nice to just tell it 
> not to alter the existing .config file.  It may be that I'm just missing it but 
> man pages and Google have not provided a solution.

Yes, the configuration file has an appropriate option:

# Run 'make oldconfig' before compiling this kernel?
OLDCONFIG="no"

HTH
-- 
Marc Joliet

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] genkernel without oldconfig
  2010-08-15 16:45 ` Marc Joliet
@ 2010-08-16  0:32   ` Daniel D Jones
  2010-08-16 15:00     ` Bill Longman
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel D Jones @ 2010-08-16  0:32 UTC (permalink / raw
  To: gentoo-user

On Sunday, August 15, 2010 12:45:06 Marc Joliet wrote:
> Am Sun, 15 Aug 2010 12:15:57 -0400
> 
> schrieb Daniel D Jones <ddjones@riddlemaster.org>:
> > Is there any way to run genkernel without it running the oldconfig
> > command?  I can work around the issue by saving my .config file to a
> > different name, then using --xconfig and loading the saved file but it
> > would be nice to just tell it not to alter the existing .config file. 
> > It may be that I'm just missing it but man pages and Google have not
> > provided a solution.
> 
> Yes, the configuration file has an appropriate option:
> 
> # Run 'make oldconfig' before compiling this kernel?
> OLDCONFIG="no"
> 
> HTH

It did indeed help.  I was looking for a command line argument.  Didn't even 
think of the config file.  Thank you!

-- 
"It's not true that nice guys finish last. Nice guys are winners before the 
game even starts." - Addison Walker



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] genkernel without oldconfig
  2010-08-16  0:32   ` Daniel D Jones
@ 2010-08-16 15:00     ` Bill Longman
  2010-08-16 20:46       ` Marc Joliet
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Longman @ 2010-08-16 15:00 UTC (permalink / raw
  To: gentoo-user

On 08/15/2010 05:32 PM, Daniel D Jones wrote:
> On Sunday, August 15, 2010 12:45:06 Marc Joliet wrote:
>> Am Sun, 15 Aug 2010 12:15:57 -0400
>>
>> schrieb Daniel D Jones <ddjones@riddlemaster.org>:
>>> Is there any way to run genkernel without it running the oldconfig
>>> command?  I can work around the issue by saving my .config file to a
>>> different name, then using --xconfig and loading the saved file but it
>>> would be nice to just tell it not to alter the existing .config file. 
>>> It may be that I'm just missing it but man pages and Google have not
>>> provided a solution.
>>
>> Yes, the configuration file has an appropriate option:
>>
>> # Run 'make oldconfig' before compiling this kernel?
>> OLDCONFIG="no"
>>
>> HTH
> 
> It did indeed help.  I was looking for a command line argument.  Didn't even 
> think of the config file.  Thank you!

I've never seen this before, either. Thanks for the tip, Marc.

Daniel, how do you use genkernel? I've found that I need to run "make
oldconfig" or, my preference, "make silentoldconfig" by hand before I
ever use genkernel. I copy my old .config to the new kernel directory,
run silentoldconfig, then I run genkernel. Is that the problem you're
facing or do you see changes between invocations of genkernel?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] genkernel without oldconfig
  2010-08-16 15:00     ` Bill Longman
@ 2010-08-16 20:46       ` Marc Joliet
  0 siblings, 0 replies; 5+ messages in thread
From: Marc Joliet @ 2010-08-16 20:46 UTC (permalink / raw
  To: Gentoo-User ML

[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]

Am Mon, 16 Aug 2010 08:00:49 -0700
schrieb Bill Longman <bill.longman@gmail.com>:

> On 08/15/2010 05:32 PM, Daniel D Jones wrote:
> > On Sunday, August 15, 2010 12:45:06 Marc Joliet wrote:
> >> Am Sun, 15 Aug 2010 12:15:57 -0400
> >>
> >> schrieb Daniel D Jones <ddjones@riddlemaster.org>:
> >>> Is there any way to run genkernel without it running the oldconfig
> >>> command?  I can work around the issue by saving my .config file to a
> >>> different name, then using --xconfig and loading the saved file but it
> >>> would be nice to just tell it not to alter the existing .config file. 
> >>> It may be that I'm just missing it but man pages and Google have not
> >>> provided a solution.
> >>
> >> Yes, the configuration file has an appropriate option:
> >>
> >> # Run 'make oldconfig' before compiling this kernel?
> >> OLDCONFIG="no"
> >>
> >> HTH
> > 
> > It did indeed help.  I was looking for a command line argument.  Didn't even 
> > think of the config file.  Thank you!
> 
> I've never seen this before, either. Thanks for the tip, Marc.

You're welcome :) . I only remembered it because I was in exactly the same
situation, trying to get genkernel to not overwrite my kernel config. I
remember being annoyed that genkernel didn't have a --no-oldconfig command
line option. I'm surprised it still doesn't. After all, several other options
have corresponding --no-* variants, like "--[no-]mrproper". Oh, well.

[snip]

Happy to help (hey, that acronymises to HTH, too!)
-- 
Marc Joliet

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-16 20:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-15 16:15 [gentoo-user] genkernel without oldconfig Daniel D Jones
2010-08-15 16:45 ` Marc Joliet
2010-08-16  0:32   ` Daniel D Jones
2010-08-16 15:00     ` Bill Longman
2010-08-16 20:46       ` Marc Joliet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox