[Libosinfo] [PATCH libosinfo] test-isodetect: extend arch table

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Sat Nov 5 14:54:38 UTC 2016


H Guido,

ACK to both patches with one minor fix.

On Sat, Nov 5, 2016 at 2:00 PM, Guido Günther <agx at sigxcpu.org> wrote:
> Reduces the output a bit when running under G_DEBUG_MESSAGES

I  think you meant G_MESSAGES_DEBUG.

> ---
>  test/test-isodetect.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/test/test-isodetect.c b/test/test-isodetect.c
> index 64d0e9a..ecb7c6f 100644
> --- a/test/test-isodetect.c
> +++ b/test/test-isodetect.c
> @@ -111,6 +111,7 @@ static struct ISOInfo *load_iso(GFile *file, const gchar *shortid, const gchar *
>               strstr(name, "64-bit"))
>          arch = "x86_64";
>      else if (strstr(name, "i386") ||
> +             strstr(name, "i586") ||
>               strstr(name, "i686") ||
>               strstr(name, "x86") ||
>               strstr(name, "32bit") ||
> @@ -125,6 +126,10 @@ static struct ISOInfo *load_iso(GFile *file, const gchar *shortid, const gchar *
>          arch = "sparc";
>      else if (strstr(name, "ia64"))
>          arch = "ia64";
> +    else if (strstr(name, "s390x"))
> +        arch = "s390x";
> +    else if (strstr(name, "aarch64"))
> +        arch = "aarch64";
>      else {
>          g_debug("Unknown arch in %s", name);
>          arch = "i386";
> --
> 2.10.1
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo



-- 
Regards,

Zeeshan Ali




More information about the Libosinfo mailing list