[OT?] is there no package containing the raw "vmlinux" kernel image?
Stefan Bader
stefan.bader at canonical.com
Thu Jul 1 18:47:02 UTC 2010
On 07/01/2010 08:04 PM, Robert P. J. Day wrote:
> On Thu, 1 Jul 2010, Stefan Bader wrote:
>
>> #> git clone git://kernel.ubuntu.com/ubuntu/ubuntu-lucid.git
>> #> cd ubuntu-lucid
>>
>> #> uname -a
>> Linux maximegalon 2.6.32-23-generic #37-Ubuntu SMP Mon Jun 28 13:06:35 UTC 2010
>> i686 GNU/Linux
>>
>> (Note the #37)
>>
>> #> git checkout Ubuntu-2.6.32-23.37
>>
>> Now you have the exactly matching kernel source and could build a generic kernel
>> with:
>>
>> #> fakeroot debian/rules binary-generic
>>
>> Even without the debug package, you got the vmlinux file you are looking for in
>> debian/build/build-generic.
>
> worked fine, just one more question -- what is the config file used
> for this build? since i'm on a 64-bit system, i can see the
> following:
>
> ./debian.master/config/amd64/config.flavour.generic
> ./debian.master/config/amd64/config.flavour.preempt
> ./debian.master/config/amd64/config.common.amd64
> ./debian.master/config/amd64/config.flavour.server
>
> i'm still new to the additional ubuntu kernel build infrastructure,
> but a wild guess is that the config that's used starts with that
> "common" amd64 content, then further customizes with the "generic"
> flavour. is that a reasonable guess?
>
The finally used config you would find in debian/build/build-genric/.config (for
the generic build). Basically its a hierarchical approach
For a generic kernel build
./debian.master/config/config.common.ubuntu
is used and then things in
./debian.master/config/amd64/config.common.amd64
override options that are different in all amd64 (64bit) build and finally
./debian.master/config/amd64/config.flavour.generic
replaces options which are specific to the generic flavour.
> rday
>
> p.s. i'm going to attempt to write all this up for my course
> students, i'll post a link when i'm done and you can all drop by for a
> giggle.
>
More information about the kernel-team
mailing list