scripts: Remove pre-3.10 kernel support

Reject unsupported kernel versions before download or patch generation.
Remove 2.x paths, RHEL 5/6 and Scientific Linux repositories, and
compatibility branches that cannot run with the Linux 3.10 minimum.

Keep the maintained ABT_KERNELS matrix unchanged.
This commit is contained in:
Gleb Chesnokov
2026-08-21 19:58:59 +03:00
parent f6ae51b613
commit 2b1dc822e8
5 changed files with 36 additions and 227 deletions
+2 -6
View File
@@ -41,7 +41,6 @@ fi
target="linux-$1"
kernel_version="$(kernel_version "$1")"
patchlevel="$(patchlevel "$1")"
download_and_extract_kernel_tree "$1" || exit $?
@@ -51,9 +50,6 @@ cd "${target}" || exit $?
grep -- "-${kernel_version}.*.patch$" |
grep -v /in-tree/ |
while read -r p; do
if [ "${p/readahead-2.6.32.below11.patch//}" = "$p" ] ||
[ "${patchlevel:-0}" -lt 11 ]; then
echo "==== $p"
patch -p1 <"${scst_dir}/$p"
fi
echo "==== $p"
patch -p1 <"${scst_dir}/$p"
done