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 <[EMAIL PROTECTED]> 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. > > Either way, is it possible to add recommends on a per-flavour basis, > and if so, how?
I am not python familiar, but reading bin/gencontrol.py : def process_depends(key, e, in_e, vars): in_dep = in_e[key].split(',') dep = [] for d in in_dep: d = d.strip() d = substitute(d, vars) if d: dep.append(d) if dep: t = ', '.join(dep) e[key] = t def process_package(in_entry, vars): e = entry() for i in in_entry.iterkeys(): if i in (('Depends', 'Provides', 'Suggests')): process_depends(i, e, in_entry, vars) elif i == 'Description': process_description(e, in_entry, vars) elif i[:2] == 'X-': pass else: e[i] = substitute(in_entry[i], vars) return e I get the feeling that only Provides, Depends and suggests are supported. Bastian, am i right in thinking that just adding Recomends to the above list should do it ? Simon, could you give it a try ? Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]