Re: [LAD] exciting news about the realtime kernel tree

From: cal <cal@email-addr-hidden>
Date: Thu Feb 26 2009 - 18:57:59 EET

Luis Garrido wrote:
>> Is there a neat around trick that takes something like lsmod (from a
>> working machine) as input and produces a config based on that?
>>
>
> There is a procedure outlined in chapter 7 of LKN, but I am not sure
> about how scriptable it is.
>
> http://www.kernel.org/pub/linux/kernel/people/gregkh/lkn/lkn_pdf/ch07.pdf
>
> It would certainly be a neat thing.

First, identify the kernel .config to be migrated to the new kernel, and get
it into the new kernel source directory as '.config'.
Eg ...
  zcat /proc/config.gz > .config or
  cp /boot/config-2.6.28-xyz .config or
  cp ~/my_brave_rt/2.6.28-rt11.config.good .config

Run 'make oldconfig'. That will stop when it encounters a new option that needs
an answer, so it's scriptable but not entirely automatic.

Then build && install new kernel.

cheers, Cal
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Feb 26 20:15:07 2009

This archive was generated by hypermail 2.1.8 : Thu Feb 26 2009 - 20:15:07 EET