diff --git a/redhat.sap_install-1.3.7-add-rhel-8-10.patch b/redhat.sap_install-1.3.7-add-rhel-8-10.patch new file mode 100644 index 0000000..b02e1b9 --- /dev/null +++ b/redhat.sap_install-1.3.7-add-rhel-8-10.patch @@ -0,0 +1,44 @@ +diff -up redhat.sap_install-1.3.7/roles/sap_hana_preconfigure/vars/RedHat_8.yml.orig redhat.sap_install-1.3.7/roles/sap_hana_preconfigure/vars/RedHat_8.yml +--- redhat.sap_install-1.3.7/roles/sap_hana_preconfigure/vars/RedHat_8.yml.orig 2024-04-25 17:48:15.000000000 +0200 ++++ redhat.sap_install-1.3.7/roles/sap_hana_preconfigure/vars/RedHat_8.yml 2025-03-26 15:44:59.423603547 +0100 +@@ -8,6 +8,7 @@ __sap_hana_preconfigure_supported_rhel_m + - "8.4" + - "8.6" + - "8.8" ++ - "8.10" + + # required repos for RHEL 8: + __sap_hana_preconfigure_req_repos_redhat_8_0_x86_64: +@@ -122,13 +123,13 @@ __sap_hana_preconfigure_req_repos_redhat + + # required SAP notes for RHEL 8: + __sap_hana_preconfigure_sapnotes_versions_x86_64: +- - {number: '2777782', version: '40'} ++ - {number: '2777782', version: '49'} + - {number: '2382421', version: '40'} + - {number: '3024346', version: '3'} + + __sap_hana_preconfigure_sapnotes_versions_ppc64le: + - {number: '2055470', version: '87'} +- - {number: '2777782', version: '40'} ++ - {number: '2777782', version: '49'} + - {number: '2382421', version: '40'} + - {number: '3024346', version: '3'} + +@@ -187,6 +188,16 @@ __sap_hana_preconfigure_min_packages_8_8 + __sap_hana_preconfigure_min_packages_8_8_ppc64le: + - ['kernel', '4.18.0-477.13.1.el8_8'] + ++__sap_hana_preconfigure_min_packages_8_9_x86_64: ++ ++__sap_hana_preconfigure_min_packages_8_9_ppc64le: ++ ++__sap_hana_preconfigure_min_packages_8_10_x86_64: ++ - [ 'kernel', '4.18.0-553.16.1.el8_10' ] ++ ++__sap_hana_preconfigure_min_packages_8_10_ppc64le: ++ - [ 'kernel', '4.18.0-553.16.1.el8_10' ] ++ + __sap_hana_preconfigure_min_pkgs: "{{ lookup('vars', '__sap_hana_preconfigure_min_packages_' + ansible_distribution_version | string | replace(\".\", \"_\") + '_' + ansible_architecture) }}" + + __sap_hana_preconfigure_packages: diff --git a/rhel-system-roles-sap.spec b/rhel-system-roles-sap.spec index 1c1b54e..bb8ee62 100644 --- a/rhel-system-roles-sap.spec +++ b/rhel-system-roles-sap.spec @@ -46,7 +46,7 @@ Name: %{package_name} Summary: System Roles to configure RHEL for running SAP NetWeaver- or SAP HANA-based products Version: 3.7.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0-or-later Url: https://github.com/redhat-sap/community.sap_install Source0: https://github.com/linux-system-roles/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz @@ -58,6 +58,9 @@ Patch1: redhat.sap_install-1.3.4-add_tests.patch # add tools files Patch2: redhat.sap_install-1.3.4-add_tools.patch +# upstream patch +Patch10: redhat.sap_install-1.3.7-add-rhel-8-10.patch + BuildArch: noarch Requires: rhel-system-roles @@ -131,6 +134,7 @@ Collection artifact for %{name}. This package contains %{collection_namespace}-% pushd %{github_repo_sap_install}-%{commit_id_sap_install}/ %patch -P1 -p1 %patch -P2 -p1 +%patch -P10 -p1 # unpack collection tar file %if %{without collection} @@ -251,6 +255,9 @@ popd %endif %changelog +* Wed Apr 02 2025 Than Ngo - 3.7.0-2 +- Resolves: RHEL-84509, Add support for 8.10 + * Wed May 15 2024 Than Ngo - 3.7.0-1 - Resolves: RHEL-34812, update to 1.3.7