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

Christophe Fergeau cfergeau at redhat.com
Fri Dec 23 08:45:39 UTC 2016


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20161223/64699e87/attachment.sig>


More information about the Libosinfo mailing list