[Libosinfo] [osinfo-db PATCH] debian: fix architecture names to match schema

Pino Toscano ptoscano at redhat.com
Fri Jul 7 14:23:53 UTC 2017


On Friday, 7 July 2017 15:59:39 CEST Guido Günther wrote:
> On Fri, Jul 07, 2017 at 01:36:29PM +0200, Pino Toscano wrote:
> > The schema has names for architectures which are closer to the RPM
> > naming than the dpkg one -- thus, fix:
> > - arm64 -> aarch64
> > - armhf -> armv7l
> 
> Are the ones in libosinfo/tests/test-isodetect.c the right ones? Asking
> since I intend to add all our architectures and flavours in the future
> (once I get around to automate this).

Do you mean the various string findings in the "load_iso" function?
To me, that looks more like an heuristic to guess the architecture of
the test data based on its filename, rather than the 

One place with the canonical list of the architectures is in osinfo-db,
data/schema/osinfo.rng.in, the "archnames" define.

PS: please remember to run `make check` in osinfo-db ;-)

> [...]
> 
> ACK.
>  -- Guido

Thanks! Can you please push it?

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20170707/20743291/attachment.sig>


More information about the Libosinfo mailing list