AlmaLinux changes

This commit is contained in:
eabdullin 2022-05-19 15:54:19 +03:00
parent 5ab7229960
commit 970eac89ed
2 changed files with 192 additions and 1 deletions

183
SOURCES/almalinux-9.xml Normal file
View File

@ -0,0 +1,183 @@
<?xml version="1.0"?>
<libosinfo version="0.0.1">
<os id="http://almalinux.org/almalinux/9">
<short-id>almalinux9</short-id>
<name>AlmaLinux 9</name>
<version>9</version>
<vendor>AlmaLinux</vendor>
<family>linux</family>
<distro>almalinux</distro>
<clones id="http://redhat.com/rhel/9.0"/>
<release-date>2022-04-19</release-date>
<media arch="x86_64">
<iso>
<volume-id>AlmaLinux-9.*-x86_64.*</volume-id>
</iso>
<kernel>isolinux/vmlinuz</kernel>
<initrd>isolinux/initrd.img</initrd>
</media>
<media arch="aarch64">
<iso>
<volume-id>AlmaLinux-9.*-aarch64.*</volume-id>
</iso>
<kernel>images/pxeboot/vmlinuz</kernel>
<initrd>images/pxeboot/initrd.img</initrd>
</media>
<media arch="ppc64le">
<iso>
<volume-id>AlmaLinux-9.*-ppc64le.*</volume-id>
</iso>
<kernel>ppc/ppc64/vmlinuz</kernel>
<initrd>ppc/ppc64/initrd.img</initrd>
</media>
<media arch="s390x">
<iso>
<volume-id>AlmaLinux-9.*-s390x.*</volume-id>
</iso>
</media>
<tree arch="x86_64">
<url>http://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/</url>
<treeinfo>
<family>AlmaLinux</family>
<version>^9$</version>
<arch>x86_64</arch>
</treeinfo>
</tree>
<tree arch="aarch64">
<url>http://repo.almalinux.org/almalinux/9/BaseOS/aarch64/os/</url>
<treeinfo>
<family>AlmaLinux</family>
<version>^9$</version>
<arch>aarch64</arch>
</treeinfo>
</tree>
<tree arch="ppc64le">
<url>http://repo.almalinux.org/almalinux/9/BaseOS/ppc64le/os/</url>
<treeinfo>
<family>AlmaLinux</family>
<version>^9$</version>
<arch>ppc64le</arch>
</treeinfo>
</tree>
<tree arch="s390x">
<url>http://repo.almalinux.org/almalinux/9/BaseOS/s390x/os/</url>
<treeinfo>
<family>AlmaLinux</family>
<version>^9$</version>
<arch>s390x</arch>
</treeinfo>
</tree>
<resources arch="ppc64le">
<minimum>
<n-cpus>1</n-cpus>
<cpu>1000000000</cpu>
<ram>2147483648</ram>
<storage>10737418240</storage>
</minimum>
<recommended>
<cpu>4000000000</cpu>
<ram>2147483648</ram>
<storage>21474836480</storage>
</recommended>
<maximum>
<n-cpus>768</n-cpus>
<ram>35184372088832</ram>
</maximum>
</resources>
<resources arch="x86_64">
<minimum>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>10737418240</storage>
</minimum>
<recommended>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>21474836480</storage>
</recommended>
<maximum>
<n-cpus>768</n-cpus>
<ram>26388279066624</ram>
</maximum>
<network-install>
<ram>3221225472</ram>
</network-install>
</resources>
<resources arch="s390x">
<minimum>
<ram>1073741824</ram>
<storage>10737418240</storage>
</minimum>
<recommended>
<storage>21474836480</storage>
</recommended>
<maximum>
<n-cpus>340</n-cpus>
<ram>17592186044416</ram>
</maximum>
<network-install>
<ram>2147483648</ram>
</network-install>
</resources>
<resources arch="aarch64">
<minimum>
<ram>2147483648</ram>
<storage>10737418240</storage>
</minimum>
<recommended>
<storage>21474836480</storage>
</recommended>
<maximum>
<n-cpus>256</n-cpus>
<ram>1649267441664</ram>
</maximum>
</resources>
<resources arch="all">
<minimum>
<n-cpus>1</n-cpus>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>10737418240</storage>
</minimum>
<recommended>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>21474836480</storage>
</recommended>
</resources>
<installer>
<script id="http://redhat.com/rhel/kickstart/jeos"/>
<script id="http://redhat.com/rhel/kickstart/desktop"/>
</installer>
</os>
</libosinfo>

View File

@ -3,10 +3,14 @@
Summary: osinfo database files Summary: osinfo database files
Name: osinfo-db Name: osinfo-db
Version: 20211216 Version: 20211216
Release: 1%{?dist} Release: 1%{?dist}.alma
License: LGPLv2+ License: LGPLv2+
Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz
Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc
# AlmaLinux
Source3: almalinux-9.xml
URL: http://libosinfo.org/ URL: http://libosinfo.org/
BuildRequires: intltool BuildRequires: intltool
BuildRequires: osinfo-db-tools BuildRequires: osinfo-db-tools
@ -20,6 +24,7 @@ provisioning of new virtual machines
%install %install
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
cp %{SOURCE3} %{buildroot}/%{_datadir}/osinfo/os/almalinux.org/
%if 0%{?rhel} %if 0%{?rhel}
# Remove the upstream virtio-win / spice-guest-tools drivers # Remove the upstream virtio-win / spice-guest-tools drivers
find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} + find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} +
@ -37,6 +42,9 @@ find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -
%{_datadir}/osinfo/schema %{_datadir}/osinfo/schema
%changelog %changelog
* Thu May 19 2022 Eduard Abdullin <eabdullin@almalinux.org> - 20211216-1.alma
- Added almalinux-9 xml file
* Thu Dec 16 2021 Victor Toso <victortoso@redhat.com> - 20211216-1 * Thu Dec 16 2021 Victor Toso <victortoso@redhat.com> - 20211216-1
- Update for new release (v20211216) - Update for new release (v20211216)
- Resolves: bz#2003156 - Resolves: bz#2003156