nightly build: Include the AlmaLinux RHEL kernels

Add support for RHEL 8.6 8.7 9.0 9.1 nightly builds.
This commit is contained in:
Gleb Chesnokov
2022-12-14 10:25:38 +03:00
parent 80471ef507
commit 31699069f3
4 changed files with 19 additions and 3 deletions
+2 -2
View File
@@ -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.* &&