How to properly compile a kernel?
Josef Wolf
jw at raven.inka.de
Mon Jan 14 21:12:11 UTC 2008
On Mon, Jan 14, 2008 at 07:43:30PM +0100, kenneth karlsen wrote:
Thanks for the answer, Kenneth!
> > This works so far, but it generates
> > linux-image-2.6.22.9-mykernel_myrev_i386 while the original kernel
^^
> > was linux-image-2.6.22-14-generic_2.6.22-14.46_i386. Notice the
^^^
> > differences in the version numbers? Why is apt-get retrieving the
> > wrong version of the sources? How do I get exactly the version which
> > was installed by apt?
> From man make-kpkg: make-kpkg [options] [target [target ...]]
> not target options.
Well, http://channel.debian.de/faq/ch-dpkgundco.html#s-makekpkg shows it
this way around. I've tried both and the results are the same.
> Skip also make prepare, I have never used it.
Can this be the reason for the wrong version information?
> You want to read the section
> --append_to_version foo, in man make-kpkg.
Actually, I used "--append-to-version -mykernel", but it still don't
explain that ".9" is used instead of "-14". After all, the package
advertises itself as "-14":
root at vdr1:/usr/src# dpkg-query -W linux-source
linux-source 2.6.22.14.21
Why does this package generate ".9"?
> You can check in your source that the modules your are building are
> actually in your source, check --config menuconfig or --config xconfig
> in make-kpkg.
> Regards Kenneth.
Some are, but others are not (e.g lirc). They are in linux-ubuntu-modules
More information about the ubuntu-users
mailing list