mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scripts/generate-kernel-patch: Pass full kernel version to scripts/specialize-patch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4932 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -109,7 +109,7 @@ function specialize_patch {
|
||||
if [ "${enable_specialize}" = "true" ]; then
|
||||
"$(dirname $0)/specialize-patch" \
|
||||
${specialize_patch_options} \
|
||||
-v kernel_version="${kver}" \
|
||||
-v kernel_version="${full_kver}" \
|
||||
-v SCSI_EXEC_REQ_FIFO_DEFINED="${scsi_exec_req_fifo_defined}" \
|
||||
-v SCST_IO_CONTEXT="${scst_io_context}" \
|
||||
| if [ "${generating_upstream_patch}" = "true" ]; then
|
||||
@@ -209,6 +209,7 @@ if [ $# != 1 ]; then
|
||||
fi
|
||||
|
||||
# Strip patch level from the kernel version number.
|
||||
full_kver="$1"
|
||||
kver="$(kernel_version "$1")"
|
||||
|
||||
# Include fcst in the patch for kernel versions 2.6.33 and later.
|
||||
|
||||
Reference in New Issue
Block a user