From ptoscano at redhat.com Fri Jul 7 11:36:29 2017 From: ptoscano at redhat.com (Pino Toscano) Date: Fri, 7 Jul 2017 13:36:29 +0200 Subject: [Libosinfo] [osinfo-db PATCH] debian: fix architecture names to match schema Message-ID: <20170707113629.11853-1-ptoscano@redhat.com> The schema has names for architectures which are closer to the RPM naming than the dpkg one -- thus, fix: - arm64 -> aarch64 - armhf -> armv7l 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 @@ install.amd/vmlinuz install.amd/initrd.gz - + http://cdimage.debian.org/cdimage/release/current/arm64/iso-cd/debian-9.0.0-arm64-netinst.iso @@ -74,7 +74,7 @@ install.arm64/vmlinuz install.arm64/initrd.gz - + http://cdimage.debian.org/cdimage/release/current/armhf/iso-cd/debian-9.0.0-armhf-netinst.iso @@ -103,7 +103,7 @@ install.amd/vmlinuz install.amd/initrd.gz - + http://cdimage.debian.org/cdimage/release/9.0.0/arm64/iso-dvd/debian-9.0.0-arm64-DVD-1.iso @@ -112,7 +112,7 @@ install.arm64/vmlinuz install.arm64/initrd.gz - + http://cdimage.debian.org/cdimage/release/9.0.0/armhf/iso-dvd/debian-9.0.0-armhf-DVD-1.iso -- 2.9.4 From ptoscano at redhat.com Fri Jul 7 11:44:05 2017 From: ptoscano at redhat.com (Pino Toscano) Date: Fri, 7 Jul 2017 13:44:05 +0200 Subject: [Libosinfo] [osinfo-db PATCH] ubuntu: add EOL date for 16.10 Message-ID: <20170707114405.12890-1-ptoscano@redhat.com> Source: https://lists.ubuntu.com/archives/ubuntu-announce/2017-July/000222.html --- data/os/ubuntu.com/ubuntu-16.10.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-16.10.xml.in b/data/os/ubuntu.com/ubuntu-16.10.xml.in index bea4182..60031d2 100644 --- a/data/os/ubuntu.com/ubuntu-16.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.10.xml.in @@ -14,6 +14,7 @@ 2016-10-13 + 2017-07-20 -- 2.9.4 From agx at sigxcpu.org Fri Jul 7 13:59:39 2017 From: agx at sigxcpu.org (Guido =?iso-8859-1?Q?G=FCnther?=) Date: Fri, 7 Jul 2017 15:59:39 +0200 Subject: [Libosinfo] [osinfo-db PATCH] debian: fix architecture names to match schema In-Reply-To: <20170707113629.11853-1-ptoscano@redhat.com> References: <20170707113629.11853-1-ptoscano@redhat.com> Message-ID: <20170707135939.zndi3sm6vyxd3rrv@bogon.m.sigxcpu.org> 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 @@ > install.amd/vmlinuz > install.amd/initrd.gz > > - > + > > http://cdimage.debian.org/cdimage/release/current/arm64/iso-cd/debian-9.0.0-arm64-netinst.iso > > @@ -74,7 +74,7 @@ > install.arm64/vmlinuz > install.arm64/initrd.gz > > - > + > > http://cdimage.debian.org/cdimage/release/current/armhf/iso-cd/debian-9.0.0-armhf-netinst.iso > > @@ -103,7 +103,7 @@ > install.amd/vmlinuz > install.amd/initrd.gz > > - > + > > http://cdimage.debian.org/cdimage/release/9.0.0/arm64/iso-dvd/debian-9.0.0-arm64-DVD-1.iso > > @@ -112,7 +112,7 @@ > install.arm64/vmlinuz > install.arm64/initrd.gz > > - > + > > http://cdimage.debian.org/cdimage/release/9.0.0/armhf/iso-dvd/debian-9.0.0-armhf-DVD-1.iso > ACK. -- Guido > -- > 2.9.4 > From ptoscano at redhat.com Fri Jul 7 14:23:53 2017 From: ptoscano at redhat.com (Pino Toscano) Date: Fri, 07 Jul 2017 16:23:53 +0200 Subject: [Libosinfo] [osinfo-db PATCH] debian: fix architecture names to match schema In-Reply-To: <20170707135939.zndi3sm6vyxd3rrv@bogon.m.sigxcpu.org> References: <20170707113629.11853-1-ptoscano@redhat.com> <20170707135939.zndi3sm6vyxd3rrv@bogon.m.sigxcpu.org> Message-ID: <2323006.BksoeDfUdT@thyrus.usersys.redhat.com> 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: From berrange at redhat.com Fri Jul 7 14:27:04 2017 From: berrange at redhat.com (Daniel P. Berrange) Date: Fri, 7 Jul 2017 15:27:04 +0100 Subject: [Libosinfo] [osinfo-db PATCH] debian: fix architecture names to match schema In-Reply-To: <20170707135939.zndi3sm6vyxd3rrv@bogon.m.sigxcpu.org> References: <20170707113629.11853-1-ptoscano@redhat.com> <20170707135939.zndi3sm6vyxd3rrv@bogon.m.sigxcpu.org> Message-ID: <20170707142704.GE15945@redhat.com> On Fri, Jul 07, 2017 at 03:59:39PM +0200, 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). Valid architecture names are defined in data/schema/osinfo.rng are were chosen to match libvirt arch names. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| From agx at sigxcpu.org Fri Jul 7 16:10:11 2017 From: agx at sigxcpu.org (Guido =?iso-8859-1?Q?G=FCnther?=) Date: Fri, 7 Jul 2017 18:10:11 +0200 Subject: [Libosinfo] [osinfo-db PATCH] debian: fix architecture names to match schema In-Reply-To: <2323006.BksoeDfUdT@thyrus.usersys.redhat.com> References: <20170707113629.11853-1-ptoscano@redhat.com> <20170707135939.zndi3sm6vyxd3rrv@bogon.m.sigxcpu.org> <2323006.BksoeDfUdT@thyrus.usersys.redhat.com> Message-ID: <20170707161011.tnj66ucnqg2yvzvp@bogon.m.sigxcpu.org> On Fri, Jul 07, 2017 at 04:23:53PM +0200, Pino Toscano wrote: > 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 ;-) Oh...didn't notice that we have that yet. Will do, the Debian package just uploaded does this too now. > > > [...] > > > > ACK. > > -- Guido > > Thanks! Can you please push it? Done. Thanks! -- Guido > > -- > Pino Toscano From agx at sigxcpu.org Mon Jul 10 06:51:34 2017 From: agx at sigxcpu.org (Guido =?iso-8859-1?Q?G=FCnther?=) Date: Mon, 10 Jul 2017 08:51:34 +0200 Subject: [Libosinfo] [PATCH libosinfo] tests: add Debian 9.0 test data In-Reply-To: <20170627112226.2e44dc2slcevogih@bogon.m.sigxcpu.org> References: <20170627112226.2e44dc2slcevogih@bogon.m.sigxcpu.org> Message-ID: <20170710065134.w4dng7tszdpf5qcw@bogon.m.sigxcpu.org> On Tue, Jun 27, 2017 at 01:22:26PM +0200, Guido G?nther wrote: > --- > .../debian9/debian-9.0-amd64-netinst.iso.txt | 29 ++++++++++++++++++++++ > .../debian/debian9/debian-9.0-amd64.iso.txt | 29 ++++++++++++++++++++++ > .../debian9/debian-9.0-arm64-netinst.iso.txt | 29 ++++++++++++++++++++++ > .../debian/debian9/debian-9.0-arm64.iso.txt | 29 ++++++++++++++++++++++ > .../debian9/debian-9.0-armhf-netinst.iso.txt | 16 ++++++++++++ > .../debian/debian9/debian-9.0-armhf.iso.txt | 16 ++++++++++++ > .../debian/debian9/debian-9.0-i386-netinst.iso.txt | 29 ++++++++++++++++++++++ > .../isodata/debian/debian9/debian-9.0-i386.iso.txt | 29 ++++++++++++++++++++++ > 8 files changed, 206 insertions(+) > create mode 100644 tests/isodata/debian/debian9/debian-9.0-amd64-netinst.iso.txt > create mode 100644 tests/isodata/debian/debian9/debian-9.0-amd64.iso.txt > create mode 100644 tests/isodata/debian/debian9/debian-9.0-arm64-netinst.iso.txt > create mode 100644 tests/isodata/debian/debian9/debian-9.0-arm64.iso.txt > create mode 100644 tests/isodata/debian/debian9/debian-9.0-armhf-netinst.iso.txt > create mode 100644 tests/isodata/debian/debian9/debian-9.0-armhf.iso.txt > create mode 100644 tests/isodata/debian/debian9/debian-9.0-i386-netinst.iso.txt > create mode 100644 tests/isodata/debian/debian9/debian-9.0-i386.iso.txt > > Since the mailing list rejects this as spam I've created a fork on > gitlab here: > > https://gitlab.com/agx1/libosinfo/commit/117029715f90c5c7a2f2a996b21e9fefca6585c8 Ping? -- Guido > > Cheers, > -- Guido > > _______________________________________________ > Libosinfo mailing list > Libosinfo at redhat.com > https://www.redhat.com/mailman/listinfo/libosinfo > From fidencio at redhat.com Mon Jul 10 11:39:51 2017 From: fidencio at redhat.com (=?UTF-8?Q?Fabiano_Fid=C3=AAncio?=) Date: Mon, 10 Jul 2017 13:39:51 +0200 Subject: [Libosinfo] [PATCH libosinfo] tests: add Debian 9.0 test data In-Reply-To: <20170710065134.w4dng7tszdpf5qcw@bogon.m.sigxcpu.org> References: <20170627112226.2e44dc2slcevogih@bogon.m.sigxcpu.org> <20170710065134.w4dng7tszdpf5qcw@bogon.m.sigxcpu.org> Message-ID: On Mon, Jul 10, 2017 at 8:51 AM, Guido G?nther wrote: > On Tue, Jun 27, 2017 at 01:22:26PM +0200, Guido G?nther wrote: >> --- >> .../debian9/debian-9.0-amd64-netinst.iso.txt | 29 ++++++++++++++++++++++ >> .../debian/debian9/debian-9.0-amd64.iso.txt | 29 ++++++++++++++++++++++ >> .../debian9/debian-9.0-arm64-netinst.iso.txt | 29 ++++++++++++++++++++++ >> .../debian/debian9/debian-9.0-arm64.iso.txt | 29 ++++++++++++++++++++++ >> .../debian9/debian-9.0-armhf-netinst.iso.txt | 16 ++++++++++++ >> .../debian/debian9/debian-9.0-armhf.iso.txt | 16 ++++++++++++ >> .../debian/debian9/debian-9.0-i386-netinst.iso.txt | 29 ++++++++++++++++++++++ >> .../isodata/debian/debian9/debian-9.0-i386.iso.txt | 29 ++++++++++++++++++++++ >> 8 files changed, 206 insertions(+) >> create mode 100644 tests/isodata/debian/debian9/debian-9.0-amd64-netinst.iso.txt >> create mode 100644 tests/isodata/debian/debian9/debian-9.0-amd64.iso.txt >> create mode 100644 tests/isodata/debian/debian9/debian-9.0-arm64-netinst.iso.txt >> create mode 100644 tests/isodata/debian/debian9/debian-9.0-arm64.iso.txt >> create mode 100644 tests/isodata/debian/debian9/debian-9.0-armhf-netinst.iso.txt >> create mode 100644 tests/isodata/debian/debian9/debian-9.0-armhf.iso.txt >> create mode 100644 tests/isodata/debian/debian9/debian-9.0-i386-netinst.iso.txt >> create mode 100644 tests/isodata/debian/debian9/debian-9.0-i386.iso.txt >> >> Since the mailing list rejects this as spam I've created a fork on >> gitlab here: >> >> https://gitlab.com/agx1/libosinfo/commit/117029715f90c5c7a2f2a996b21e9fefca6585c8 > > Ping? ACK! > -- Guido > >> >> Cheers, >> -- Guido >> >> _______________________________________________ >> Libosinfo mailing list >> Libosinfo at redhat.com >> https://www.redhat.com/mailman/listinfo/libosinfo >> > > _______________________________________________ > Libosinfo mailing list > Libosinfo at redhat.com > https://www.redhat.com/mailman/listinfo/libosinfo From fidencio at redhat.com Mon Jul 10 11:41:18 2017 From: fidencio at redhat.com (=?UTF-8?Q?Fabiano_Fid=C3=AAncio?=) Date: Mon, 10 Jul 2017 13:41:18 +0200 Subject: [Libosinfo] [PATCH] rhel: Add RHEL 7.4 info In-Reply-To: <20170622150017.13426-1-feborges@redhat.com> References: <20170622150017.13426-1-feborges@redhat.com> Message-ID: Felipe, On Thu, Jun 22, 2017 at 5:00 PM, Felipe Borges wrote: > > Red Hat Enterprise Linux 7.4 is not released yet, > but we would like to support 7.4 in 7.4 Thanks for your patch! I'd prefer to have it applied to our git master as soon as 7.4 is released. So, please, when it happens, may I ask you to re-submit the patch with the test data as well? It's a NACK for now. Best Regards, . > > --- > data/os/redhat.com/rhel-7.4.xml.in | 89 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 89 insertions(+) > create mode 100644 data/os/redhat.com/rhel-7.4.xml.in > > diff --git a/data/os/redhat.com/rhel-7.4.xml.in b/data/os/redhat.com/rhel-7.4.xml.in > new file mode 100644 > index 0000000..f9c918f > --- /dev/null > +++ b/data/os/redhat.com/rhel-7.4.xml.in > @@ -0,0 +1,89 @@ > + > + > + > + rhel7.4 > + <_name>Red Hat Enterprise Linux 7.4 > + 7.4 > + <_vendor>Red Hat, Inc > + linux > + rhel > + Maipo > + > + > + > + > + > + > + > + LINUX > + .*RHEL-7.4.*x86_64.* > + > + isolinux/vmlinuz > + isolinux/initrd.img > + > + > + > + > + LINUX > + RHEL-7.4.*aarch64$ > + > + > + > + > + > + PPC > + RHEL-7.4.*ppc64$ > + > + > + > + > + > + PPC > + RHEL-7.4.*ppc64le$ > + > + > + > + > + > + LINUX > + RHEL-7.4.*s390x$ > + > + > + > + > + > + 1 > + 1000000000 > + 2147483648 > + 10737418240 > + > + > + > + 400000000 > + 2147483648 > + 21474836480 > + > + > + > + > + > + 1 > + 1000000000 > + 1073741824 > + 10737418240 > + > + > + > + 400000000 > + 1073741824 > + 9663676416 > + > + > + > + > +