mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-31 13:17:08 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user