[LAD] exciting news about the realtime kernel tree
cal at graggrag.com
Thu Feb 26 16:57:59 UTC 2009
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.
> 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'.
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.
More information about the Linux-audio-dev