diff --git a/nightly/conf/nightly.conf b/nightly/conf/nightly.conf index 1c3672934..873e5a0d2 100644 --- a/nightly/conf/nightly.conf +++ b/nightly/conf/nightly.conf @@ -56,6 +56,10 @@ ABT_KERNELS=" \ 3.12.74-nc \ 3.11.10-nc \ 3.10.108-nc \ +5.14.0-162.6.1.el9_1^AlmaLinux^9.1-nc \ +5.14.0-70.30.1.el9_0^AlmaLinux^9.0-nc \ +4.18.0-425.3.1.el8^AlmaLinux^8.7-nc \ +4.18.0-372.32.1.el8_6^AlmaLinux^8.6-nc \ 4.18.0-348.2.1.el8_5^CentOS^8.5.2111-nc \ 4.18.0-305.3.1.el8^CentOS^8.4.2105-nc \ 4.18.0-240.15.1.el8_3^CentOS^8.3.2011-nc \ diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index 7cc586b25..7a3bcb904 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -113,7 +113,7 @@ function specialize_patch { local releasevermajor="$1" local releaseverminor="$2" case "$distro" in - CentOS) + CentOS|AlmaLinux) if [ -n "$releasevermajor" ]; then ao=( -v "RHEL_MAJOR=$releasevermajor" diff --git a/scripts/kernel-functions b/scripts/kernel-functions index 9428d3b21..336baf8e2 100644 --- a/scripts/kernel-functions +++ b/scripts/kernel-functions @@ -832,7 +832,7 @@ function download_and_extract_distro_rpm { tr '\n' ' ')" for url in "${urls[@]}"; do case "$distro" in - CentOS) + CentOS|AlmaLinux) wget -q -nc "${url}/kernel-${kver}.src.rpm" && break ;; UEK) @@ -847,7 +847,7 @@ function download_and_extract_distro_rpm { ( cd "${tmpdir}" && case "$distro" in - CentOS) + CentOS|AlmaLinux) rpm2cpio "${kernel_downloads}/kernel-${kver}.src.rpm" | cpio -i --make-directories --quiet && tar xaf "linux-${kver}"*.tar.* && diff --git a/scripts/rhel-rpm-functions b/scripts/rhel-rpm-functions index ccdcac5b0..7ca3ef58f 100644 --- a/scripts/rhel-rpm-functions +++ b/scripts/rhel-rpm-functions @@ -35,6 +35,12 @@ function get_srpm_urls() { echo "http://ftp.redhat.com/redhat/rhel/rc/7/Server/source/tree/Packages";; esac ;; + "AlmaLinux") + case $releasever in + [89]*) + echo "https://repo.almalinux.org/vault/${releasever}/BaseOS/Source/Packages/";; + esac + ;; "Oracle Linux Server"|"UEK") echo "http://public-yum.oracle.com/repo/OracleLinux/OL${releasevermajor}/${releaseverminor}/base/${arch}/getPackageSource" echo "http://public-yum.oracle.com/repo/OracleLinux/OL${releasevermajor}/latest/${arch}/getPackageSource" @@ -89,6 +95,12 @@ function get_rpm_urls() { ;; "Red Hat Enterprise Linux"*) echo "";; + "AlmaLinux") + case $releasever in + [89]*) + echo "https://mirror.yandex.ru/almalinux/${releasever}/BaseOS/${arch}/os/Packages/";; + esac + ;; "Oracle Linux Server"|"UEK") echo "http://public-yum.oracle.com/repo/OracleLinux/OL${releasevermajor}/${releaseverminor}/base/${arch}/getPackageSource" echo "http://public-yum.oracle.com/repo/OracleLinux/OL${releasevermajor}/latest/${arch}/getPackageSource"