FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 08-15-2010, 04:15 PM
Daniel D Jones
 
Default genkernel without oldconfig

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
 
Old 08-15-2010, 04:45 PM
Marc Joliet
 
Default genkernel without oldconfig

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
 
Old 08-16-2010, 12:32 AM
Daniel D Jones
 
Default genkernel without oldconfig

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
 
Old 08-16-2010, 03:00 PM
Bill Longman
 
Default genkernel without oldconfig

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?
 
Old 08-16-2010, 08:46 PM
Marc Joliet
 
Default genkernel without oldconfig

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
 

Thread Tools




All times are GMT. The time now is 07:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org