mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-25 17:22:33 +02:00
Add support EL10 (#11546)
This commit is contained in:
parent
23c9e83047
commit
ec533cd24d
1
packaging/el10
Symbolic link
1
packaging/el10
Symbolic link
@ -0,0 +1 @@
|
||||
el8
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
%define __os_install_post %{nil}
|
||||
%global debug_package %{nil}
|
||||
%global __requires_exclude libc\\.so\\..*
|
||||
%global __requires_exclude libc\\.so\\..*|libc\\.so\\.6\\(GLIBC_.*\\)
|
||||
%define _binaries_in_noarch_packages_terminate_build 0
|
||||
|
||||
# DISABLE the post-percentinstall java repacking and line number stripping
|
||||
@ -39,7 +39,7 @@ Source0: %{name}-%{_maventag}.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{_maventag}-%{release}-build
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: (java-11-openjdk-devel or java-17-openjdk-devel)
|
||||
BuildRequires: (java-11-openjdk-devel or java-17-openjdk-devel or java-21-openjdk-devel)
|
||||
#BuildRequires: ws-commons-util
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: gcc
|
||||
@ -55,7 +55,7 @@ intelligent IaaS cloud implementation.
|
||||
|
||||
%package management
|
||||
Summary: CloudStack management server UI
|
||||
Requires: java-17-openjdk
|
||||
Requires: (java-17-openjdk or java-21-openjdk)
|
||||
Requires: (tzdata-java or timezone-java)
|
||||
Requires: python3
|
||||
Requires: bash
|
||||
@ -66,12 +66,12 @@ Requires: tar
|
||||
Requires: bzip2
|
||||
Requires: gzip
|
||||
Requires: unzip
|
||||
Requires: /sbin/mount.nfs
|
||||
Requires: (/sbin/mount.nfs or /usr/sbin/mount.nfs)
|
||||
Requires: (openssh-clients or openssh)
|
||||
Requires: (nfs-utils or nfs-client)
|
||||
Requires: iproute
|
||||
Requires: wget
|
||||
Requires: (mysql or mariadb)
|
||||
Requires: (mysql or mariadb or mysql8.4)
|
||||
Requires: sudo
|
||||
Requires: /sbin/service
|
||||
Requires: /sbin/chkconfig
|
||||
@ -96,12 +96,12 @@ Requires: python3
|
||||
Group: System Environment/Libraries
|
||||
%description common
|
||||
The Apache CloudStack files shared between agent and management server
|
||||
%global __requires_exclude ^(libuuid\\.so\\.1|/usr/bin/python)$
|
||||
%global __requires_exclude libc\\.so\\..*|libc\\.so\\.6\\(GLIBC_.*\\)|^(libuuid\\.so\\.1|/usr/bin/python)$
|
||||
|
||||
%package agent
|
||||
Summary: CloudStack Agent for KVM hypervisors
|
||||
Requires: (openssh-clients or openssh)
|
||||
Requires: java-17-openjdk
|
||||
Requires: (java-17-openjdk or java-21-openjdk)
|
||||
Requires: (tzdata-java or timezone-java)
|
||||
Requires: %{name}-common = %{_ver}
|
||||
Requires: libvirt
|
||||
@ -142,7 +142,7 @@ The CloudStack baremetal agent
|
||||
|
||||
%package usage
|
||||
Summary: CloudStack Usage calculation server
|
||||
Requires: java-17-openjdk
|
||||
Requires: (java-17-openjdk or java-21-openjdk)
|
||||
Requires: (tzdata-java or timezone-java)
|
||||
Group: System Environment/Libraries
|
||||
%description usage
|
||||
|
||||
@ -28,8 +28,8 @@ if [ -z $JAVA_MAJOR_VERSION ];then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$JAVA_MAJOR_VERSION" != "17" ] && [ "$JAVA_MAJOR_VERSION" != "11" ];then
|
||||
echo "ERROR: JAVA $JAVA_MAJOR_VERSION is not supported. Currently only JAVA 17 and JAVA 11 are supported."
|
||||
if [ "$JAVA_MAJOR_VERSION" != "21" ] && [ "$JAVA_MAJOR_VERSION" != "17" ] && [ "$JAVA_MAJOR_VERSION" != "11" ];then
|
||||
echo "ERROR: JAVA $JAVA_MAJOR_VERSION is not supported. Currently only JAVA versions 11, 17 and 21 are supported."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user