[Libosinfo] [PATCH] rhel: Fix isodata for RHEL 7.5 on ppc64le

Andrea Bolognani abologna at redhat.com
Thu May 3 15:09:19 UTC 2018


There is a spurious empty line at the end of the file that
causes 'make syntax-check' to fail with:

  [...]
  tests/isodata/rhel/rhel7.5/RHEL-7.5-20180322.0-Server-ppc64le-dvd1.iso.txt
  maint.mk: empty line(s) or no newline at EOF
  make: *** [maint.mk:927: sc_prohibit_empty_lines_at_EOF] Error 1

Get rid of it to solve the issue.

See also

  https://ci.centos.org/view/libvirt/job/libosinfo-master-syntax-check/123/

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
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?

 .../isodata/rhel/rhel7.5/RHEL-7.5-20180322.0-Server-ppc64le-dvd1.iso.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/isodata/rhel/rhel7.5/RHEL-7.5-20180322.0-Server-ppc64le-dvd1.iso.txt b/tests/isodata/rhel/rhel7.5/RHEL-7.5-20180322.0-Server-ppc64le-dvd1.iso.txt
index d555458..1aa5db0 100644
--- a/tests/isodata/rhel/rhel7.5/RHEL-7.5-20180322.0-Server-ppc64le-dvd1.iso.txt
+++ b/tests/isodata/rhel/rhel7.5/RHEL-7.5-20180322.0-Server-ppc64le-dvd1.iso.txt
@@ -14,4 +14,3 @@ Logical block size is: 2048
 Volume size is: 1694649
 Joliet with UCS level 3 found
 Rock Ridge signatures version 1 found
-
-- 
2.14.3




More information about the Libosinfo mailing list