SHA256
1
0
forked from pool/osinfo-db

Accepting request 827957 from Virtualization

Add support for openSUSE Leap 15.3 and SLE15-SP3

OBS-URL: https://build.opensuse.org/request/show/827957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osinfo-db?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2020-08-23 07:19:14 +00:00 committed by Git OBS Bridge
commit 10783f27e7
4 changed files with 205 additions and 0 deletions

121
add-leap15.3-support.patch Normal file
View File

@ -0,0 +1,121 @@
--- /dev/null 2020-08-13 09:44:36.280214894 -0600
+++ osinfo-db-20200804/os/opensuse.org/opensuse-15.3.xml 2020-08-14 11:13:33.778400872 -0600
@@ -0,0 +1,118 @@
+<?xml version="1.0"?>
+<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.3">
+ <short-id>opensuse15.3</short-id>
+ <name>openSUSE Leap 15.3</name>
+ <name xml:lang="uk">openSUSE Leap 15.3</name>
+ <name xml:lang="tr">openSUSE Leap 15.3</name>
+ <name xml:lang="pl">openSUSE Leap 15.3</name>
+ <name xml:lang="it">openSUSE Leap 15.3</name>
+ <name xml:lang="fr">openSUSE Leap 15.3</name>
+ <version>15.3</version>
+ <vendor>openSUSE</vendor>
+ <vendor xml:lang="uk">openSUSE</vendor>
+ <vendor xml:lang="tr">openSUSE</vendor>
+ <vendor xml:lang="pt_BR">openSUSE</vendor>
+ <vendor xml:lang="pl">openSUSE</vendor>
+ <vendor xml:lang="ja">openSUSE</vendor>
+ <vendor xml:lang="it">openSUSE</vendor>
+ <vendor xml:lang="id">openSUSE</vendor>
+ <vendor xml:lang="fr">openSUSE</vendor>
+ <vendor xml:lang="es">openSUSE</vendor>
+ <vendor xml:lang="de">openSUSE</vendor>
+ <vendor xml:lang="ca">openSUSE</vendor>
+ <family>linux</family>
+ <distro>opensuse</distro>
+ <upgrades id="http://opensuse.org/opensuse/15.2"/>
+ <derives-from id="http://opensuse.org/opensuse/15.2"/>
+ <release-date>2021-07-01</release-date>
+ <variant id="netinst">
+ <name>openSUSE Leap 15.3</name>
+ <name xml:lang="uk">openSUSE Leap 15.3</name>
+ <name xml:lang="tr">openSUSE Leap 15.3</name>
+ <name xml:lang="pl">openSUSE Leap 15.3</name>
+ <name xml:lang="it">openSUSE Leap 15.3</name>
+ <name xml:lang="fr">openSUSE Leap 15.3</name>
+ </variant>
+ <!-- DVD -->
+ <media arch="x86_64">
+ <url>https://download.opensuse.org/distribution/leap/15.3/iso/openSUSE-Leap-15.3-DVD-x86_64.iso</url>
+ <iso>
+ <volume-id>openSUSE-Leap-15.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>
+ <!-- Network -->
+ <media arch="x86_64">
+ <variant id="netinst"/>
+ <url>https://download.opensuse.org/distribution/leap/15.3/iso/openSUSE-Leap-15.3-NET-x86_64.iso</url>
+ <iso>
+ <volume-id>openSUSE-Leap-15.3-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>
+ <!-- Live GNOME -->
+ <media arch="x86_64" live="true" installer-script="false">
+ <url>https://download.opensuse.org/distribution/leap/15.3/live/openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso</url>
+ <iso>
+ <volume-id>openSUSE_Leap_15.3_GNOME_Live</volume-id>
+ <publisher-id>SUSE LINUX GMBH</publisher-id>
+ </iso>
+ <kernel>boot/x86_64/loader/linux</kernel>
+ <initrd>boot/x86_64/loader/initrd</initrd>
+ </media>
+ <!-- Live KDE -->
+ <media arch="x86_64" live="true" installer-script="false">
+ <url>https://download.opensuse.org/distribution/leap/15.3/live/openSUSE-Leap-15.3-KDE-Live-x86_64-Media.iso</url>
+ <iso>
+ <volume-id>openSUSE_Leap_15.3_KDE_Live</volume-id>
+ <publisher-id>SUSE LINUX GMBH</publisher-id>
+ </iso>
+ <kernel>boot/x86_64/loader/linux</kernel>
+ <initrd>boot/x86_64/loader/initrd</initrd>
+ </media>
+ <!-- Live Rescue CD -->
+ <media arch="x86_64" live="true" installer-script="false">
+ <url>https://download.opensuse.org/distribution/leap/15.3/live/openSUSE-Leap-15.3-Rescue-CD-x86_64-Media.iso</url>
+ <iso>
+ <volume-id>openSUSE_Leap_15.3_Rescue_CD</volume-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>https://download.opensuse.org/pub/opensuse/distribution/leap/15.3/repo/oss/</url>
+ <treeinfo>
+ <family>openSUSE Leap</family>
+ <version>15.3</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>

View File

@ -0,0 +1,72 @@
--- /dev/null 2020-08-13 09:44:36.280214894 -0600
+++ osinfo-db-20200804/os/suse.com/sle-15.3.xml 2020-08-14 11:14:08.626401702 -0600
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<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.3">
+ <short-id>sle15sp3</short-id>
+ <name>SUSE Linux Enterprise 15 SP3</name>
+ <version>15.3</version>
+ <vendor>SUSE</vendor>
+ <vendor xml:lang="uk">SUSE</vendor>
+ <vendor xml:lang="tr">SUSE</vendor>
+ <vendor xml:lang="pt_BR">SUSE</vendor>
+ <vendor xml:lang="pl">SUSE</vendor>
+ <vendor xml:lang="it">SUSE</vendor>
+ <vendor xml:lang="id">SUSE</vendor>
+ <vendor xml:lang="fr">SUSE</vendor>
+ <vendor xml:lang="es">SUSE</vendor>
+ <vendor xml:lang="ca">SUSE</vendor>
+ <family>linux</family>
+ <distro>sle</distro>
+ <upgrades id="http://suse.com/sle/15.2"/>
+ <derives-from id="http://suse.com/sle/15.2"/>
+ <release-date>2021-07-01</release-date>
+ <media arch="x86_64">
+ <iso>
+ <system-id>LINUX</system-id>
+ <volume-id>SLE-15-SP3.*-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-SP3.*-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-SP3.*-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-SP3.*-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>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 14 11:27:12 MDT 2020 - carnold@suse.com
- Add support for openSUSE Leap 15.3 and SLE15-SP3
add-leap15.3-support.patch
add-sle15sp3-support.patch
-------------------------------------------------------------------
Fri Aug 7 09:21:27 MDT 2020 - carnold@suse.com

View File

@ -31,6 +31,9 @@ Patch24: add-win-2k19-media-info.patch
Patch25: fix-sle15sp1-volume-id-string.patch
Patch26: SLE-add-info-about-UEFI-support.patch
Patch27: fix-tumbleweed-order.patch
Patch28: add-leap15.3-support.patch
Patch29: add-sle15sp3-support.patch
BuildRequires: intltool
BuildRequires: osinfo-db-tools
@ -47,6 +50,8 @@ provisioning of new virtual machines
%patch25 -p1
%patch26 -p1
%patch27 -p1
%patch28 -p1
%patch29 -p1
%build
cd %{_builddir}