[Libosinfo] [osinfo-db PATCH 3/4] opensuse: Add Leap 15.1

Fabiano Fidêncio fidencio at redhat.com
Tue Mar 26 12:00:38 UTC 2019


Let's add info about the soon to be released Leap 15.1.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/opensuse.org/opensuse-15.1.xml.in    | 71 ++++++++++++++++++++
 data/os/opensuse.org/opensuse-unknown.xml.in |  6 +-
 2 files changed, 74 insertions(+), 3 deletions(-)
 create mode 100644 data/os/opensuse.org/opensuse-15.1.xml.in

diff --git a/data/os/opensuse.org/opensuse-15.1.xml.in b/data/os/opensuse.org/opensuse-15.1.xml.in
new file mode 100644
index 0000000..7462a93
--- /dev/null
+++ b/data/os/opensuse.org/opensuse-15.1.xml.in
@@ -0,0 +1,71 @@
+<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://opensuse.org/opensuse/15.1">
+    <short-id>opensuse15.1</short-id>
+    <_name>openSUSE Leap 15.1</_name>
+    <version>15.1</version>
+    <_vendor>openSUSE</_vendor>
+    <family>linux</family>
+    <distro>opensuse</distro>
+    <upgrades id="http://opensuse.org/opensuse/15.0"/>
+    <derives-from id="http://opensuse.org/opensuse/15.0"/>
+
+    <release-status>prerelease</release-status>
+
+    <variant id="netinst">
+      <_name>openSUSE Leap 15.1</_name>
+    </variant>
+
+    <!-- DVD -->
+    <media arch="x86_64">
+      <iso>
+        <volume-id>openSUSE-Leap-15.1-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>
+
+    <!-- Network -->
+    <media arch="x86_64">
+      <variant id="netinst"/>
+      <iso>
+        <volume-id>openSUSE-Leap-15.1-NET-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>
+
+    <tree arch="x86_64">
+      <url>http://download.opensuse.org/pub/opensuse/distribution/leap/15.1/repo/oss/</url>
+      <treeinfo>
+        <family>openSUSE Leap</family>
+        <version>15.1</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+
+    <installer>
+      <script id='http://opensuse.org/opensuse/autoyast/jeos'/>
+      <script id='http://opensuse.org/opensuse/autoyast/desktop'/>
+    </installer>
+
+    <resources arch="all">
+      <minimum>
+        <cpu>1600000000</cpu>
+        <n-cpus>1</n-cpus>
+        <ram>1073741824</ram>
+        <storage>3221225472</storage>
+      </minimum>
+      <recommended>
+        <cpu>2400000000</cpu>
+        <ram>2147483648</ram>
+        <storage>17179869184</storage>
+      </recommended>
+    </resources>
+  </os>
+</libosinfo>
diff --git a/data/os/opensuse.org/opensuse-unknown.xml.in b/data/os/opensuse.org/opensuse-unknown.xml.in
index bdb1d20..d1ec438 100644
--- a/data/os/opensuse.org/opensuse-unknown.xml.in
+++ b/data/os/opensuse.org/opensuse-unknown.xml.in
@@ -8,13 +8,13 @@
     <_vendor>openSUSE</_vendor>
     <family>linux</family>
     <distro>opensuse</distro>
-    <upgrades id="http://opensuse.org/opensuse/15.0"/>
-    <derives-from id="http://opensuse.org/opensuse/15.0"/>
+    <upgrades id="http://opensuse.org/opensuse/15.1"/>
+    <derives-from id="http://opensuse.org/opensuse/15.1"/>
     <release-status>prerelease</release-status>
 
     <media arch="x86_64">
       <iso>
-        <volume-id>openSUSE-Leap-(15\.[1-9]|(1[6-9]|[23]|[5-9])[0-9]\.[0-9]|4[3-9]\.[0-9])-(DVD|NET|Kubic)-x86_64*</volume-id>
+        <volume-id>openSUSE-Leap-(15\.[2-9]|(1[6-9]|[23]|[5-9])[0-9]\.[0-9]|4[3-9]\.[0-9])-(DVD|NET|Kubic)-x86_64*</volume-id>
         <system-id>LINUX</system-id>
         <publisher-id>SUSE LINUX GmbH</publisher-id>
       </iso>
-- 
2.20.1




More information about the Libosinfo mailing list