From: Bart V. A. <bva...@ac...> - 2018-11-21 03:00:22
|
On 11/20/18 7:02 AM, Pascal de Bruijn wrote: > 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 # Hi Pascal, This is not a regression but a longstanding issue. Anyway, thanks for the patch. It has been applied on the 3.3 and trunk branches. Bart. |