[Libosinfo] [osinfo-db PATCH 6/6] suse: Add SLE unknwon info

Charles Arnold carnold at suse.com
Thu Nov 15 18:54:44 UTC 2018


>>> On 11/5/2018 at 02:05 AM, Fabiano Fidêncio <fidencio at redhat.com> wrote: 
> In a similar way of what's done on openSUSE and Fedora, let's have an
> "unknown" entry for SLE that would cover any possible future releases
> while the proper release is not added to our db.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  data/os/suse.com/sle-unknown.xml.in | 63 +++++++++++++++++++++++++++++
>  1 file changed, 63 insertions(+)
>  create mode 100644 data/os/suse.com/sle-unknown.xml.in
> 
> diff --git a/data/os/suse.com/sle-unknown.xml.in 
> b/data/os/suse.com/sle-unknown.xml.in
> new file mode 100644
> index 0000000..4b3c694
> --- /dev/null
> +++ b/data/os/suse.com/sle-unknown.xml.in
> @@ -0,0 +1,63 @@
> +<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://suse.com/sle/unknown">
> +    <short-id>sle-unknown</short-id>
> +    <_name>SUSE Linux Enterprise Unknown</_name>
> +    <version>unknown</version>
> +    <_vendor>SUSE</_vendor>
> +    <family>linux</family>
> +    <distro>sle</distro>
> +    <upgrades id="http://suse.com/sle/15"/>
> +    <derives-from id="http://suse.com/sle/15"/>
> +
> +    <media arch="x86_64">
> +      <iso>
> +        <system-id>LINUX</system-id>
> +        <volume-id>SLE-(1[6-9]|[2-9][0-9])-Installer-DVD-x86_64</volume-id>
> +      </iso>
> +      <kernel>boot/x86_64/loader/linux</kernel>
> +      <initrd>boot/x86_64/loader/initrd</initrd>
> +    </media>
> +
> +    <media arch="aarch64">
> +      <iso>
> +        <system-id>LINUX</system-id>
> +        <volume-id>SLE-(1[6-9]|[2-9][0-9])-Installer-DVD-aarch64</volume-id>
> +      </iso>
> +      <kernel>boot/aarch64/linux</kernel>
> +      <initrd>boot/aarch64/initrd</initrd>
> +    </media>
> +
> +    <media arch="ppc64">
> +      <iso>
> +        <system-id>LINUX</system-id>
> +        <volume-id>SLE-(1[6-9]|[2-9][0-9])-Installer-DVD-ppc64le</volume-id>
> +      </iso>
> +      <kernel>boot/ppc64le/linux</kernel>
> +      <initrd>boot/ppc64le/initrd</initrd>
> +    </media>
> +
> +    <media arch="s390x">
> +      <iso>
> +        <system-id>LINUX</system-id>
> +        <volume-id>SLE-(1[6-9]|[2-9][0-9])-Installer-DVD-s390x</volume-id>
> +      </iso>
> +      <kernel>boot/s390x/linux</kernel>
> +      <initrd>boot/s390x/initrd</initrd>
> +    </media>
> +
> +    <resources arch="all">
> +      <minimum>
> +        <cpu>500000000</cpu>
> +        <ram>536870912</ram>
> +        <storage>1074151424</storage>
> +      </minimum>
> +      <recommended>
> +        <cpu>2400000000</cpu>
> +        <ram>1073741824</ram>
> +        <storage>17179869184</storage>
> +      </recommended>
> +    </resources>
> +  </os>
> +</libosinfo>
> -- 
> 2.19.1

Looks good to me.

Thanks,

- Charles




More information about the Libosinfo mailing list