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

Re: Maintaining kernel source in sarge



Hello

On Mon, May 19, 2003 at 11:06:16AM -0400, Matt Zimmerman wrote:
> On Mon, May 19, 2003 at 10:02:58AM +0200, Ola Lundqvist wrote:
> 
> > I'll start here:
> > 
> > Kernel package policy:
>   "kernel image" to avoid confusion between kernel source, kernel headers,

Agreed.

> kernel modules, etc.
> > ----------------------
> > 
> > * It should only exist one kernel-source package.
> > * Every modification to the kernel should be added as a patch package.
> > * Modifications may be separated to make it easier to administrate and
> >   for other people/packages to use it.
> 
> Kernel image packages must include a list of patches which have been
> applied, and the packages from which they came.

Agreed.

> > Kernel module policy:
> > ---------------------
> > 
> > * Kernel modules must be provided as a "binary source" package.
> > * Module source packages should provide a debian/rules file.
> > * The debian/rules file must compile the module if KSRC=kernelsourcedir
> >   and KVERS=versionname is priovided.
> > * The debian/rules file may fail if an unsupported version of the kernel is
> >   provided by the environment.
> > * The debian/rules file may fail if no kernel-headers is in that location.
> > * The debian/rules file should handke KMAINT and KEMAIL env variables.
> 
> It would be a significant gain if kernel modules could always be built
> against kernel-headers, without requiring full kernel-source.  Is there any
> situation where this is not feasible, or could it be made a requirement?

At least the pcmcia and freeswan needs some parts of kernel source to build.
At least last time I tried. I have been bitten by this a lot of times.

But yes that would be really great if they just have to depend on the
kernel source.

Regards,

// Ola

PS. I accidentily deleted two other mails in this thread. Was they
just for me or has they not yet been delivered to the mailinglist?
DS.

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

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Annebergsslingan 37      \
|  opal@lysator.liu.se                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



Reply to: