[Libosinfo] [osinfo-db v2] rhel: Workaround detection of RHEL-7.2 (x86_64) ISOs

Fabiano Fidêncio fidencio at redhat.com
Fri Dec 23 08:37:25 UTC 2016


libosinfo hasn't been able to detected any RHEL-7.2 (x86_64) ISO because
of a bug (already fixed[0]) in on_{pvd,svd}_read(). While waiting for a
new libosinfo release, let's work it around on osinfo-db by relaxing the
regular expression used for this case, as already done for RHEL-7.0 and
RHEL-7.1.

[0]:
https://gitlab.com/libosinfo/libosinfo/commit/a75dc46e27cedb4562719c00661376c153fb83d2

Related: rhbz#1408271

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
Reported-by: Allan Day <aday at redhat.com>
---
 data/os/redhat.com/rhel-7.2.xml.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/os/redhat.com/rhel-7.2.xml.in b/data/os/redhat.com/rhel-7.2.xml.in
index ab78cf8..7344341 100644
--- a/data/os/redhat.com/rhel-7.2.xml.in
+++ b/data/os/redhat.com/rhel-7.2.xml.in
@@ -17,7 +17,7 @@
     <media arch="x86_64">
       <iso>
         <system-id>LINUX</system-id>
-        <volume-id>.*RHEL-7.2.*x86_64$</volume-id>
+        <volume-id>.*RHEL-7.2.*x86_64.*</volume-id>
       </iso>
       <kernel>isolinux/vmlinuz</kernel>
       <initrd>isolinux/initrd.img</initrd>
-- 
2.9.3




More information about the Libosinfo mailing list