Re: Bug#278729: kernel-image-2.6-k7: kernel-image-2.6*-k7* and 2.6*-686* should
On Tue, 8 Nov 2005 14:26:17 +0100, Sven Luther <sven.luther@wanadoo.fr> said:
> On Tue, Nov 08, 2005 at 08:30:53PM +0900, Horms wrote:
>> On Tue, Nov 08, 2005 at 11:36:13AM +0100, Sven Luther wrote:
>> > On Tue, Nov 08, 2005 at 11:19:36AM +0100, Jonas Smedegaard wrote:
>> > > -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> > >
>> > > On Tue, 8 Nov 2005 11:31:10 +0900
>> > > Horms <horms@debian.org> wrote:
>> > >
>> > > > Waldi, can you coment on how to add a recommends to images on
>> > > > a per-flavour basis?
>> > >
>> > > Isn't per-flavour control hints one of the new features of the
>> > > soon-to-be-in-sid kernel-package?
>> > >
>> > > If so, I suggest using that instead of bloating linux-2.6
>> > > packaging unnecessarily.
>> >
>> > linux-2.6 packaging already has quite nice per-flavour dependency
>> > handling, thank you.
Would it not be nice to push it down into the underlying tool,
so that even endusers get a nicely hinted per flavour images, as
appropriate? I mean, we cater to all users, not just those that use
official Debian kernels.
Additionally, I would have thought that pushing code down to
underlying tools and reducing the maintenance burden would be a good
thing.
>> Either way, is it possible to add recommends on a per-flavour
>> basis, and if so, how?
> Not sure, i know we can add dependencies though, so the same
> mechanism can probably quite easily be used for recomends.
The Control file is a template that comes stuff that can be
substituted out -- like this
Suggests: =L fdutils, =ST-doc-=V=SA | =ST-source-=V
On install, the -L and =ST etc are filled in with the relevant
values. The idea would be to add a Recommends: =RE filed to the
control file, and then the per flavour snippets can set $(recommends)
variable, and the targets/image.mk substitute in the value.
manoj
--
Acting is an art which consists of keeping the audience from coughing.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: