mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scripts/generate-kernel-patch: Download the correct kernel version
Additionally, only try to download the Linux kernel when including the qla2x00t driver in the output. This is a modified version of a patch supplied by Pascal de Bruijn. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7825 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -269,8 +269,6 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
download_kernel "${kver}" || exit $?
|
||||
|
||||
# General kernel patches.
|
||||
|
||||
scsi_exec_req_fifo_defined=0
|
||||
@@ -499,6 +497,8 @@ add_file "iscsi-scst/README_in-tree" "Documentation/scst/README.iscsi" \
|
||||
|
||||
if [ "${qla2x00t}" = "true" ]; then
|
||||
|
||||
download_kernel "${kver3}" || exit $?
|
||||
|
||||
( cd qla2x00t && ./generate-in-tree-patches "$1" )
|
||||
|
||||
for f in qla2x00t/in-tree-patches/"$1"/*.patch; do
|
||||
|
||||
Reference in New Issue
Block a user