On Mon, 2013-11-11 at 01:38 +0000, Ben Hutchings wrote:
> On Sun, 2013-10-27 at 13:27 +0100, Bastian Blank wrote:
> > On Fri, Oct 25, 2013 at 10:11:24PM +0100, Ben Hutchings wrote:
[...]
> > > + if compiler_multilib:
> > > + # We cannot directly depend on all valid compilers
> > > + # without specifying package:arch, which is not
> > > + # supported by dak. Use an intermediate meta-package.
> > > + package_headers['Depends'].extend(
> > > + PackageRelation('linux-compiler-%s-%s' %
> > > + (self.version.linux_version,
> > > + compiler_multilib)))
> >
> > Needs to be specified as relation in the config, not hardcoded.
>
> I think this is all required if we use just a single template for the
> linux-compiler packages, but avoidable if there is a template per
> compiler architecture.
[...]
I also want gencontrol.py to check that linux-compiler template
specifies the same compiler as the config.
This is why I made gencontrol.py add dependencies in the linux-compiler
template, though I didn't actually check that the compiler version was
the same for all architectures in a multilib set.
Ben.
--
Ben Hutchings
I haven't lost my mind; it's backed up on tape somewhere.
Attachment:
signature.asc
Description: This is a digitally signed message part