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

Re: build depends on kernel-headers

On Sat, May 05, 2001 at 11:09:20AM -0400, Ben Collins wrote:

> The point here is to make packages start moving to Build-Dep'ing on
> kernel-headers-* packages. The question is, how to allow them to do that
> easily.
> IMO, we can use alternatives. And it should be fairly easy
> update-alternatives --install /usr/src/kernel-headers-2.2 kernel-headers-2.2 \
>   /usr/src/kernel-headers-2.2.<rev> <rev>
> Where "<rev>" would be something like "19" (as in 2.2.19). This way each
> newer version would be prefered over the former. The only problem I see
> are the -preX releases. Someone would have to suggest how to handle that
> case since the priority field wont accept letters.

How about: use 100*<rev> as the priority for standard kernel releases,
and 100*<rev>+X for a -preX release and hope that there are never more
than 99 pre-releases ;-)


Reply to: