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

Re: Buildd and kernel modules



Jonathan Hseu <vomjom@vomjom.org> writes:
> There exist a lot of packages containing only kernel module source.
> For some of these (alsa comes to mind), the maintainers build them
> every version for all debian kernels.  You can imagine that is a lot
> of building.
> 
> For other packages, such as nvidia, lm-sensors, and others, the user
> has to build them.
> 
> Does anyone else think that build daemons should build packages that
> contain kernel modules for all available debian kernels?

I think that'd be useful.  There's ~no documentation for how to build
modules for the stock kernels; the best thing I've found to do is to
get the kernel-image-2.4.18-i386 source and its build-deps, and
manually run a half-dozen 'make-kpkg --append-to-version -386 modules'
commands.  This is a pain.

It'd be good if there were some relatively straightforward way to test
package builds against real kernels; for a long time lm-sensors was
broken for 'make-kpkg modules' and I didn't realize it.  If I want to
change something, I need to change it in the lm-sensors source, build
that, install the resulting lm-sensors-source, move over to the kernel
tree, and run 'make-kpkg' with the correct magic arguments from there.
(This gets a little better if I tweak things to use the lm-sensors
build tree as a kernel module tree, but I've never attempted it.)

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


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: