[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel recompile in woody



raoul duke <dr_gonzo@redbrick.dcu.ie> writes:

> i need to recompile my kernel (2.4.18-k7) with some minor adjustments to
> the configuration. since i can get the configuration file from /boot, all i
> need is the kernel source. i installed kernel-source-2.4.18, configured it
> and tried to compile it but it wouldn't compile.

Why not?  What error messages do you get?

> i figure that i need to include the kernel-headers for the k7
> variant (kernel-headers-2.4.18-k7) in order to get a successful
> kernel build. how do i do this?

No, the kernel headers are a subset of the kernel source.  (Look in
include/ in your source tree.)

> also, if i just want the kernel and the modules in a debian package do i
> just do this?
>
> make-kpkg kernl_image ?

More or less.  I'd recommend reading
http://newbiedoc.sourceforge.net/system/kernel-pkg.html for a better
overview.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: