[Libosinfo] [osinfo-db PATCH 5/6] suse: Add SLE-15-unknown info

Fabiano Fidêncio fidencio at redhat.com
Mon Nov 5 09:05:54 UTC 2018


In a similar way of what's done on openSUSE and Fedora, let's have an
"unknown" entry for SLE-15 that would cover any possible future release
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-15-unknown.xml.in | 63 ++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
 create mode 100644 data/os/suse.com/sle-15-unknown.xml.in

diff --git a/data/os/suse.com/sle-15-unknown.xml.in b/data/os/suse.com/sle-15-unknown.xml.in
new file mode 100644
index 0000000..7fe318e
--- /dev/null
+++ b/data/os/suse.com/sle-15-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/15">
+    <short-id>sle15-unknown</short-id>
+    <_name>SUSE Linux Enterprise 15 Unknown</_name>
+    <version>15-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-15-SP[1-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-15-SP[1-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-15-SP[1-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-15-SP[1-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




More information about the Libosinfo mailing list