[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: invalid and duplicate architectures



Paul Wise <pabs@debian.org> writes:
> On Fri, May 23, 2014 at 10:00 PM, Johannes Schauer  wrote:

>> In my code I counted all debian architectures as "valid" which are
>> listed on packages.debian.net. Is there a better way to retrieve
>> "valid" architectures in this context?

> Dpkg::Arch::get_valid_arches, which looks at /usr/share/dpkg/*table

I'm pretty sure that Lintian already uses that data to check whether
architectures are valid (I vaguely remember working on that code), but it
may well be that the existing check doesn't get the wildcards right.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: