Hello, On Sat, Jan 27, 2018 at 09:27:58AM -0700, Sean Whitton wrote: > 3. dgit invokes `pbuilder build foo_1.2.3-1.dsc <pbuilder opts>`
On IRC, Mattia reports that this should be
pbuilder build <pbuilder opts> foo_1.2.3-1.dsc
> 4. dgit invokes mergechanges to merge its _source.changes and the
> binary .changes produced by pbuilder.
>
> This is exactly the pattern of `dgit sbuild`, so we can probably
> refactor the cmd_sbuild() sub and then trivially add cmd_pbuilder().
On IRC, Mattia reports a slight wrinkle here: the .changes produced by
pbuilder will include a rebuilt .dsc. So we need to pass
`--debbuildopts -b` to pbuilder.
Note that the changes will include arch-indep and arch binaries by
default. This differs from sbuild, which requires you to pass -A to get
arch-indep binaries. I think it is fine for `dgit pbuilder` to include
arch-indep binaries, because that is the pbuilder default.
--
Sean Whitton
signature.asc
Description: PGP signature

