Hi,

Quoting Simon McVittie (2014-09-12 12:18:35)
> There might be situations where it would be useful to have a way to spell
> "any member of the x86 family", "any member of the PowerPC family", "any
> member of the ARM family" and "any member of the MIPS family", but we
> currently don't.

There is something that spells "some members of the ARM family":

$ dpkg-architecture -aarm -iany-arm && echo yes || echo no
yes
$ dpkg-architecture -aarmel -iany-arm && echo yes || echo no
yes
$ dpkg-architecture -aarmhf -iany-arm && echo yes || echo no
yes

It it doesn't match arm64 though.

$ dpkg-architecture -aarm64 -iany-arm && echo yes || echo no
no


The common fallacy is that the "foo" in "any-foo" is the name of a Debian
architecture while in fact it is the name of the CPU which is mapped to one or
more Debian architectures by /usr/share/dpkg/triplettable

This is even done wrongly by apt itself. See #748936.

cheers, josch


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912131108.3685.97213@hoothoot

Reply via email to