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

Fabiano Fidêncio fabiano at fidencio.org
Fri Dec 23 09:04:08 UTC 2016


On Fri, Dec 23, 2016 at 9:45 AM, Christophe Fergeau <cfergeau at redhat.com> wrote:
>
> Acked-by: Christophe Fergeau <cfergeau at redhat.com>

Pushed, thanks!

>
> On Fri, Dec 23, 2016 at 09:37:25AM +0100, Fabiano Fidêncio wrote:
>> 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
>>
>> _______________________________________________
>> 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
>



-- 
Fabiano Fidêncio




More information about the Libosinfo mailing list