Re: Architecture in *.dsc files
On Wed, 27 May 2009, Russ Allbery wrote:
> Andres Mejia <firstname.lastname@example.org> writes:
> > Perhaps inclusive 'or' is meant here. That's the impression I get from
> > reading this.
> > Perhaps a footnote saying "Here 'or' is meant inclusively" should be
> > added.
> Well, but that doesn't answer the more fundamental question. What does
> an Architecture field like:
> i386 amd64 all
> in a *.dsc file mean? Currently, Policy is silent here.
It means you can do:
- dpkg-buildpackage -B (or -b) on i386/amd64
- dpkg-buildpackage -A on all arches (at least in theory, in practice I'm
sure we have many packages where the arch: all is a by-product of the
normal full build and hence requires to be built on one of the supported
Think of it as a list of arches that have to be auto-built.
Given that autobuilders use -B, you have to generate the arch: all on a
> Can "any" ever appear in combination with architectures (if, for
> example, the package builds some binary packages only on some
> architectures and others on all architectures)?
No. If "any" appears, it will always be alone.
Check line 195-226 of dpkg-source to see what is done.
Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :