On Sat, Mar 31, 2018 at 02:00:06PM +0100, Christopher Hoskin wrote: > Using backportpackage with the -b and --builder=sbuild options produces a > .changes file for release rather than release-backports. > > e.g. > > backportpackage -b -w build --builder=sbuild --destination=stretch > --suffix=~bpo9+1 dh-golang > > cat build/buildresult/dh-golang_1.34~debian9.0.1~bpo9+1_amd64.changes | grep > Distribution > Distribution: stretch > > This appears to be different to the behaviour with --builder=pbuilder. I > think pbuilder uses the release specified in debian/changelog to produce the > .changes file, whereas sbuild overrides this with the option passed to it in > --dist.
This is exactly what is happening. ubuntutools/builder.py in Sbuild().build() uses --dist; that's the wrong flag, and should most likely be --chroot, but changing this is sure to break somebody's setup, so I'm relucanct to do it. Not to mention that I don't use sbuild. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. More about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature