[Libosinfo] [PATCH 1/2] openSUSE: Add OS information for future versions

Lasse Schuirmann lasse.schuirmann at gmail.com
Sat Nov 29 10:28:19 UTC 2014


Actually this regex doesnt match future 13.x versions, I'll make a new patch.

2014-11-27 16:08 GMT+01:00 Lasse Schuirmann <lasse.schuirmann at gmail.com>:
> The regex to match the future openSUSE version follows the same
> structure as the one for Fedora. Thus it is not perfect but kept simple.
> ---
>  data/oses/opensuse.xml.in | 50 +++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 50 insertions(+)
>
> diff --git a/data/oses/opensuse.xml.in b/data/oses/opensuse.xml.in
> index eb5b500..0a01cec 100644
> --- a/data/oses/opensuse.xml.in
> +++ b/data/oses/opensuse.xml.in
> @@ -441,4 +441,54 @@
>      </resources>
>    </os>
>
> +  <!-- Generic entry for future openSUSE releases. Please update the
> +       'upgrades', 'derives-from', 'volume-id' and 'resources' nodes
> +       accordingly each time you add a new (specific) entry for a new
> +       release. -->
> +  <os id="http://opensuse.org/opensuse/unknown">
> +    <short-id>opensuse-unknown</short-id>
> +    <_name>openSUSE</_name>
> +    <version>unknown</version>
> +    <_vendor>openSUSE</_vendor>
> +    <family>linux</family>
> +    <distro>opensuse</distro>
> +    <upgrades id="http://opensuse.org/opensuse/13.1" />
> +    <derives-from id="http://opensuse.org/opensuse/13.1" />
> +    <release-status>prerelease</release-status>
> +
> +    <media arch="i686">
> +      <iso>
> +        <volume-id>openSUSE-([1-9][4-9]|[0-9]{3,})-DVD</volume-id>
> +        <system-id>LINUX</system-id>
> +        <publisher-id>SUSE LINUX GmbH</publisher-id>
> +      </iso>
> +      <kernel>boot/i386/loader/linux</kernel>
> +      <initrd>boot/i386/loader/initrd</initrd>
> +    </media>
> +    <media arch="x86_64">
> +      <iso>
> +        <volume-id>openSUSE-([1-9][4-9]|[0-9]{3,})-DVD-x86_64</volume-id>
> +        <system-id>LINUX</system-id>
> +        <publisher-id>SUSE LINUX GmbH</publisher-id>
> +      </iso>
> +      <kernel>boot/x86_64/loader/linux</kernel>
> +      <initrd>boot/x86_64/loader/initrd</initrd>
> +    </media>
> +
> +    <resources arch="all">
> +    <!-- http://en.opensuse.org/Hardware_requirements -->
> +      <minimum>
> +        <cpu>500000000</cpu>
> +        <n-cpus>1</n-cpus>
> +        <ram>1073741824</ram>
> +        <storage>3221225472</storage>
> +      </minimum>
> +      <recommended>
> +        <cpu>2400000000</cpu>
> +        <ram>2147483648</ram>
> +        <storage>5368709120</storage>
> +      </recommended>
> +    </resources>
> +  </os>
> +
>  </libosinfo>
> --
> 2.1.0
>




More information about the Libosinfo mailing list