[buildd-tools-devel] Bug#657392: sbuild: support for --arch-all-only option

Simon McVittie smcv at debian.org
Fri Sep 11 10:31:06 UTC 2015


Control: retitle 657392 sbuild: support for --arch-all-only option
Control: tags 657392 + patch fixed-upstream

On Mon, 27 Feb 2012 at 11:19:28 +0000, Roger Leigh wrote:
> However, I don't really like this.  --host and --build have defined
> meanings, and this is altering that.  If you use --arch=all (sets
> host and build), you've set it to an invalid arch.

The version of sbuild that is now deployed on Debian buildds resolves
this by adding a new --arch-all-only option instead of accepting --arch=all,
so you can do something like:

    sbuild --arch=i386 --arch-all-only foo_1.2-3

to build the arch:all parts of foo in an i386 environment, without
building packages for the arch:any parts.

I think the necessary changes are limited to commits fec82ed7 and d6f12f0c.

Johannes, if you're uploading sbuild to experimental for #770407,
#798323 etc. anyway, would you mind incorporating this change too?
Without it, ordinary maintainers cannot replicate what happens on the
official Architecture:all buildd (x86-bm-01) during source-only uploads
such as
<https://buildd.debian.org/status/package.php?p=dbus&suite=experimental>.

Regards,
    S



More information about the Buildd-tools-devel mailing list