On Mon, 2017-01-02 at 09:53:17 +0100, Mattia Rizzolo wrote: > On Sun, Jan 01, 2017 at 11:15:36PM -0800, Russ Allbery wrote: > > I massaged the wording a bit. Here's what I committed for the next > > release: > > + Each binary package built from this source package has a > > + corresponding paragraph, except for any automatically-generated > > + debug packages that do not require one. > > I now wonder, debhelper is adding this field to the binary control of > those automatically generated packages: > -DAuto-Built-Package=debug-symbols
Yeah, that was exactly my thought when I read Russ' mail. dpkg currently does not key on that, but just because there was no easy way to fetch that field from where it needs to be accessed: <https://anonscm.debian.org/cgit/dpkg/dpkg.git/tree/scripts/dpkg-genchanges.pl#n401> but that will be fixed with something like this branch: <https://git.hadrons.org/cgit/debian/dpkg/dpkg.git/commit/?h=pu/automatic-dbgsyms> > Should this be documented too? (Also dak accepts such packages not > listed in control only if they have such field, see > https://anonscm.debian.org/git/mirror/dak.git/tree/daklib/checks.py#n288 > https://anonscm.debian.org/git/mirror/dak.git/tree/daklib/utils.py#n1372 Yeah, and that reminds me that I should document that in deb-control(5)! Thanks, Guillem