[Libosinfo] [PATCH 1/2] opensuse: Recognize future versions
Lasse Schuirmann
lasse.schuirmann at gmail.com
Wed Nov 26 16:47:44 UTC 2014
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>
--
1.9.3
More information about the Libosinfo
mailing list