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

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

 



H Guido,

ACK to both patches with one minor fix.

On Sat, Nov 5, 2016 at 2:00 PM, Guido Günther <agx@xxxxxxxxxxx> 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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo



-- 
Regards,

Zeeshan Ali

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux