[PATCH 1/2] opensuse: Recognize future versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux