[Libosinfo] [PATCH] rhel: Fix isodata for RHEL 7.5 on ppc64le
Andrea Bolognani
abologna at redhat.com
Thu May 3 15:25:44 UTC 2018
On Thu, 2018-05-03 at 16:12 +0100, Daniel P. Berrangé wrote:
> On Thu, May 03, 2018 at 05:09:19PM +0200, Andrea Bolognani wrote:
> > test-isodetect still fails for me with
> >
> > [...]
> > /isodetect/rhel:
> > ** (/home/test/libosinfo/tests/.libs/lt-test-isodetect:23747): ERROR **: ISO RHEL-7.5-20180322.0-Server-ppc64-dvd1.iso.txt was not matched by OS rhel7.5
> > Trace/breakpoint trap (core dumped)
> >
> > but I think that's because the relevant information has not been
> > merged into osinfo-db yet?
>
> It is in osinfo-db - you will just need to update your local database
> eg do to osinfo-db git checkout and run 'make', and it'll generate you
> a tar.gz file. Just import that
>
> osinfo-db-import osinfo-db-20180503.tar.xz
>
> and then tests will pass
I follow the CI setup closely, which means I have $VIRT_PREFIX
set up and I call
$MAKE install OSINFO_DB_TARGET="--system"
after compiling. IIUC, it should lead to the same result.
Anyway, the RHEL 7.5 data is indeed in osinfo-db already; it's
just that I thought I pulled but apparently I didn't :/
Now /isodetect/rhel passes, and I get
/isodetect/opensuse:
** (/home/test/libosinfo/tests/.libs/lt-test-isodetect:24007): ERROR **: ISO openSUSE-Leap-42.3-NET-x86_64.iso.txt was not matched by OS opensuse42.3
Trace/breakpoint trap (core dumped)
instead. Progress? :)
--
Andrea Bolognani / Red Hat / Virtualization
More information about the Libosinfo
mailing list