From: Pascal de B. <p.d...@un...> - 2018-11-20 15:15:14
|
Hey, Congrats on the 3.3.x release. Much appreciated. As I'm adjusting to use the new 3.3.x codebase, I'm (re)noticing the following issue with generate-kernel-patch: touch: cannot touch 'linux-4.9.137/drivers/scsi/qla2xxx/*': No such file or directory mv: cannot stat 'linux-4.9.137/drivers/scsi/qla2xxx/*': No such file or directory diff: qla2xxx-orig/4.9.137/Makefile: No such file or directory And the resulting patch is broken. We used to work around this with a separate wrapper script. When we manually place ~/software/downloads/linux-4.9.137.tar.xz there are no errors and the resulting patch seems fine, as in the kernel builds. Something along these lines seems to resolve the issue, though I'm not sure if it's the correct approach: --- ./scst-3.3.x-orig/scripts/generate-kernel-patch 2018-11-20 16:00:36.168956893 +0100 +++ ./scst-3.3.x/scripts/generate-kernel-patch 2018-11-20 15:59:17.628952224 +0100 @@ -257,6 +257,7 @@ if [ "${multiple_patches}" = "true" ]; t fi fi +download_kernel "${kver}" || exit $? #################### # Patch Generation # Regards, Pascal de Bruijn Unilogic B.V. |