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

Guido Günther agx at sigxcpu.org
Fri Jul 7 13:59:39 UTC 2017


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).

> 
> Fixes commit 5d852472685792a240dc1738e051a59793c47b18.
> ---
>  data/os/debian.org/debian-9.xml.in | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/data/os/debian.org/debian-9.xml.in b/data/os/debian.org/debian-9.xml.in
> index e0b9085..80cc048 100644
> --- a/data/os/debian.org/debian-9.xml.in
> +++ b/data/os/debian.org/debian-9.xml.in
> @@ -65,7 +65,7 @@
>        <kernel>install.amd/vmlinuz</kernel>
>        <initrd>install.amd/initrd.gz</initrd>
>      </media>
> -    <media arch="arm64">
> +    <media arch="aarch64">
>        <variant id="universal-netinst"/>
>        <url>http://cdimage.debian.org/cdimage/release/current/arm64/iso-cd/debian-9.0.0-arm64-netinst.iso</url>
>        <iso>
> @@ -74,7 +74,7 @@
>        <kernel>install.arm64/vmlinuz</kernel>
>        <initrd>install.arm64/initrd.gz</initrd>
>      </media>
> -    <media arch="armhf">
> +    <media arch="armv7l">
>        <variant id="universal-netinst"/>
>        <url>http://cdimage.debian.org/cdimage/release/current/armhf/iso-cd/debian-9.0.0-armhf-netinst.iso</url>
>        <iso>
> @@ -103,7 +103,7 @@
>        <kernel>install.amd/vmlinuz</kernel>
>        <initrd>install.amd/initrd.gz</initrd>
>      </media>
> -    <media arch="arm64">
> +    <media arch="aarch64">
>        <variant id="universal"/>
>        <url>http://cdimage.debian.org/cdimage/release/9.0.0/arm64/iso-dvd/debian-9.0.0-arm64-DVD-1.iso</url>
>        <iso>
> @@ -112,7 +112,7 @@
>        <kernel>install.arm64/vmlinuz</kernel>
>        <initrd>install.arm64/initrd.gz</initrd>
>      </media>
> -    <media arch="armhf">
> +    <media arch="armv7l">
>        <variant id="universal"/>
>        <url>http://cdimage.debian.org/cdimage/release/9.0.0/armhf/iso-dvd/debian-9.0.0-armhf-DVD-1.iso</url>
>        <iso>

ACK.
 -- Guido

> -- 
> 2.9.4
> 




More information about the Libosinfo mailing list