[Libosinfo] [PATCH 1/5] rhel: Add RHEL 7.2 data

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Thu Nov 19 17:17:49 UTC 2015


On Thu, Nov 19, 2015 at 8:23 AM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> ---
>  data/os/redhat.com/rhel-7.2.xml.in                 | 84 ++++++++++++++++++++++
>  po/POTFILES.in                                     |  1 +
>  .../rhel-computenode-7.2-x86_64-dvd.iso.txt        | 29 ++++++++
>  .../rhel7.2/rhel-server-7.2-aarch64-dvd.iso.txt    | 29 ++++++++
>  .../rhel/rhel7.2/rhel-server-7.2-ppc64-dvd.iso.txt | 16 +++++
>  .../rhel7.2/rhel-server-7.2-ppc64le-dvd.iso.txt    | 16 +++++
>  .../rhel/rhel7.2/rhel-server-7.2-s390x-dvd.iso.txt | 16 +++++
>  .../rhel7.2/rhel-server-7.2-x86_64-dvd.iso.txt     | 29 ++++++++
>  8 files changed, 220 insertions(+)
>  create mode 100644 data/os/redhat.com/rhel-7.2.xml.in
>  create mode 100644 test/isodata/rhel/rhel7.2/rhel-computenode-7.2-x86_64-dvd.iso.txt
>  create mode 100644 test/isodata/rhel/rhel7.2/rhel-server-7.2-aarch64-dvd.iso.txt
>  create mode 100644 test/isodata/rhel/rhel7.2/rhel-server-7.2-ppc64-dvd.iso.txt
>  create mode 100644 test/isodata/rhel/rhel7.2/rhel-server-7.2-ppc64le-dvd.iso.txt
>  create mode 100644 test/isodata/rhel/rhel7.2/rhel-server-7.2-s390x-dvd.iso.txt
>  create mode 100644 test/isodata/rhel/rhel7.2/rhel-server-7.2-x86_64-dvd.iso.txt
>
> diff --git a/data/os/redhat.com/rhel-7.2.xml.in b/data/os/redhat.com/rhel-7.2.xml.in
> new file mode 100644
> index 0000000..2f8e95b
> --- /dev/null
> +++ b/data/os/redhat.com/rhel-7.2.xml.in
> @@ -0,0 +1,84 @@
> +<libosinfo version="0.0.1">
> +  <os id="http://redhat.com/rhel/7.2">
> +    <short-id>rhel7.2</short-id>
> +    <_name>Red Hat Enterprise Linux 7.2</_name>
> +    <version>7.2</version>
> +    <_vendor>Red Hat, Inc</_vendor>
> +    <family>linux</family>
> +    <distro>rhel</distro>
> +    <upgrades id="http://redhat.com/rhel/7.1"/>
> +    <derives-from id="http://redhat.com/rhel/7.1"/>
> +
> +    <media arch="x86_64">
> +      <iso>
> +        <system-id>LINUX</system-id>
> +        <volume-id>.*RHEL-7.2.*x86_64$</volume-id>

The '.*' at the beginning and '$' is redundant since we don't expect
an exact match. The '$' also make is a bit too specific than needed.

Looks good otherwise.

-- 
Regards,

Zeeshan Ali (Khattak)
________________________________________
Befriend GNOME: http://www.gnome.org/friends/




More information about the Libosinfo mailing list