Sampo Savolainen <v2(a)iki.fi> writes:
Did I understand correctly: building the realtime
module, modifies some of
the modules under the kernel tree?
No.
But when you do `make install' it runs `make modules_install' for the
kernel, which regenerates everything in the /lib/modules/2.6.xx
directories.
How can I build a debian package of the kernel then?
If I make the kernel
with make-kpkg, I will have the debian package ready, and it will not
include the changes made by realtime?
Separate packaging of these small LSM modules is still a work in
progress. There are no standard solutions yet, AFAICT.
If you want to help, there are people on the debian-multimedia ML
actively trying to figure out how to do this. I'll do what I can, but
I am not a Debian Developer, nor an expert on the Debian packaging
system.
I really would like to use make-kpkg instead of make
modules_install etc.
So would I.
If you want to hack something yourself, I suspect that the simplest
approach will be to turn it into a kernel patch, which you would apply
using the existing PATCH_THE_KERNEL mechanism of make-kpkg. If you do
that, please keep me posted on your results.
It seems that a kernel-patch version of this LSM is worth having.
I'll work on that when I find time. It should be straightforward.
But, I've got too many other uncompleted tasks right now. :-)
The Debian multimedia people want a binary distribution method. That
will likely require a different solution.
--
joq