mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
scripts/generate-kernel-patch: Fix for kernel versions 3.7, 3.10, 3.12 and 3.13
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5399 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -268,13 +268,13 @@ done
|
||||
scsi_exec_req_fifo_defined=0
|
||||
scst_io_context=0
|
||||
for p in scst/kernel/*-${kver}.patch \
|
||||
$(if [ ${kver} = 3.7 ] && [ "${1#3.7.}" -ge 10 ]; then
|
||||
$(if [ "${1#3.7.}" != "$1" ] && [ "${1#3.7.}" -ge 10 ]; then
|
||||
echo iscsi-scst/kernel/patches/*-3.7.10.patch;
|
||||
elif [ ${kver} = 3.10 ] && [ "${1#3.10.}" -ge 30 ]; then
|
||||
elif [ "${1#3.10.}" != "$1" ] && [ "${1#3.10.}" -ge 30 ]; then
|
||||
echo iscsi-scst/kernel/patches/*-3.10.30.patch;
|
||||
elif [ ${kver} = 3.12 ] && [ "${1#3.12.}" -ge 11 ]; then
|
||||
elif [ "${1#3.12.}" != "$1" ] && [ "${1#3.12.}" -ge 11 ]; then
|
||||
echo iscsi-scst/kernel/patches/*-3.12.11.patch;
|
||||
elif [ ${kver} = 3.13 ] && [ "${1#3.13.}" -ge 3 ]; then
|
||||
elif [ "${1#3.13.}" != "$1" ] && [ "${1#3.13.}" -ge 3 ]; then
|
||||
echo iscsi-scst/kernel/patches/*-3.13.3.patch;
|
||||
else
|
||||
echo iscsi-scst/kernel/patches/*-${kver}.patch;
|
||||
|
||||
Reference in New Issue
Block a user