[Libosinfo] [PATCH] rhel: Add rhel-7.6

Fabiano Fidêncio fidencio at redhat.com
Thu Nov 1 16:07:56 UTC 2018


Felipe,

I've finally had some time to test it against the isodata you've
submitted.

On Tue, 2018-10-30 at 16:48 +0100, Felipe Borges wrote:
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.6_release_notes/
> 
> Signed-off-by: Felipe Borges <feborges at redhat.com>
> ---
>  data/os/redhat.com/rhel-7.6.xml.in | 89
> ++++++++++++++++++++++++++++++
>  1 file changed, 89 insertions(+)
>  create mode 100644 data/os/redhat.com/rhel-7.6.xml.in
> 
> diff --git a/data/os/redhat.com/rhel-7.6.xml.in
> b/data/os/redhat.com/rhel-7.6.xml.in
> new file mode 100644
> index 0000000..38fa766
> --- /dev/null
> +++ b/data/os/redhat.com/rhel-7.6.xml.in
> @@ -0,0 +1,89 @@
> +<libosinfo version="0.0.1">
> +<!-- Licensed under the GNU General Public License version 2 or
> later.
> +     See http://www.gnu.org/licenses/ for a copy of the license text
> -->
> +  <os id="http://redhat.com/rhel/7.6">
> +    <short-id>rhel7.6</short-id>
> +    <_name>Red Hat Enterprise Linux 7.6</_name>
> +    <version>7.6</version>
> +    <_vendor>Red Hat, Inc</_vendor>
> +    <family>linux</family>
> +    <distro>rhel</distro>
> +    <codename>Maipo</codename>
> +    <upgrades id="http://redhat.com/rhel/7.5"/>
> +    <derives-from id="http://redhat.com/rhel/7.5"/>
> +
> +    <release-date>2018-10-30</release-date>
> +
> +    <media arch="x86_64">
> +      <iso>
> +        <system-id>LINUX</system-id>
> +        <volume-id>.*RHEL-7.6.*x86_64.*</volume-id>
> +      </iso>
> +      <kernel>isolinux/vmlinuz</kernel>
> +      <initrd>isolinux/initrd.img</initrd>
> +    </media>
> +
> +    <media arch="aarch64">
> +       <iso>
> +         <system-id>LINUX</system-id>
> +         <volume-id>RHEL-7.6.*aarch64$</volume-id>
> +       </iso>
> +     </media>
> +
> +    <media arch="ppc64">
> +       <iso>
> +         <system-id>PPC</system-id>
> +         <volume-id>RHEL-7.6.*ppc64$</volume-id>
> +       </iso>
> +     </media>
> +
> +    <media arch="ppc64le">
> +       <iso>
> +         <system-id>PPC</system-id>
> +         <volume-id>RHEL-7.6.*ppc64le$</volume-id>
> +       </iso>
> +     </media>

So, seems that the volume-id of boot isos for ppc64 and ppc64le differ
from the dvd1 isos due to:
* ppc64:
  - boot: RHEL_7_6_Server_ppc64
  - dvd1: RHEL-7.6 Server.ppc64

* ppc64le:
  - boot: RHEL_7_6_Server_ppc64le
  - dvd1: RHEL-7.6 Server.ppc64le

And this only happens for the PPC ones.

I'll just adjust their regex to:
* ppc64: RHEL[-_]7.6.*ppc64$
* ppc64le: RHEL[-_]7.6.*ppc64le$ 

We can decide later on if we want some variant-id for those or not.

> +
> +    <media arch="s390x">
> +       <iso>
> +         <system-id>LINUX</system-id>
> +         <volume-id>RHEL-7.6.*s390x$</volume-id>
> +       </iso>
> +     </media>
> +
> +    <resources arch="ppc64">
> +      <minimum>
> +        <n-cpus>1</n-cpus>
> +        <cpu>1000000000</cpu>
> +        <ram>2147483648</ram>
> +        <storage>10737418240</storage>
> +      </minimum>
> +
> +      <recommended>
> +        <cpu>400000000</cpu>
> +        <ram>2147483648</ram>
> +        <storage>21474836480</storage>
> +      </recommended>
> +    </resources>
> +
> +    <resources arch="all">
> +      <minimum>
> +        <n-cpus>1</n-cpus>
> +        <cpu>1000000000</cpu>
> +        <ram>1073741824</ram>
> +        <storage>10737418240</storage>
> +      </minimum>
> +
> +      <recommended>
> +        <cpu>1000000000</cpu>
> +        <ram>1073741824</ram>
> +        <storage>10737418240</storage>
> +      </recommended>
> +    </resources>
> +
> +    <installer>
> +      <script id='http://redhat.com/rhel/kickstart/jeos'/>
> +      <script id='http://redhat.com/rhel/kickstart/desktop'/>
> +    </installer>
> +  </os>
> +</libosinfo>

Please, gimme your ack in the suggested changes and I'll merge them!

Thanks for the contribution!
-- 
Fabiano Fidêncio




More information about the Libosinfo mailing list