Currently I'm using linux-5.4.0-60-generic, and if I cat utsrelease.h
I get the following.
$ cat /usr/src/linux-headers-5.4.0-60-generic/include/generated/utsrelease.h
#define UTS_RELEASE "5.4.78"
This is making it very difficult to install any kernel module, because it compiles with vermagic set to 5.4.78
, and uname -r
returns 5.4.0-60-generic
. To fix utsrelease.h
I can download the sources and recompile the kernel with a fix in Makefile
to correct the version, but compiling the kernel takes a lot of time, and it goes back to that wrong UTS_RELEASE when I upgrade the kernel.
Am I messing up some step, or is this working as intended?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…