From 0c1ca900074281c4e44fc376b2ae620ca014f666 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 22 Nov 2018 05:58:42 +0000 Subject: [PATCH] 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 --- scripts/generate-kernel-patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index 4dd6cd485..8ecdecf1c 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -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