rteval compiles the kernel using allmodconfig as a load. This can be a problem if sha1 signing of modules is disabled. Fix this by signing with sha512 Suggested-by: Juri Lelli <juri.lelli@xxxxxxxxxx> Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- rteval/modules/loads/kcompile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rteval/modules/loads/kcompile.py b/rteval/modules/loads/kcompile.py index 8f97d38eca56..367f8dc1ca86 100644 --- a/rteval/modules/loads/kcompile.py +++ b/rteval/modules/loads/kcompile.py @@ -66,6 +66,7 @@ class KBuildJob: self.runcmd = f"make O={self.objdir} -C {self.kdir} -j{self.jobs}" self.cleancmd = f"make O={self.objdir} -C {self.kdir} clean allmodconfig" + self.cleancmd += f"&& pushd {self.objdir} && {self.kdir}/scripts/config -d CONFIG_MODULE_SIG_SHA1 -e CONFIG_MODULE_SIG_SHA512 && popd && make O={self.objdir} -C {self.kdir} olddefconfig" if self.binder: self.runcmd = self.binder + " " + self.runcmd self.cleancmd = self.binder + " " + self.cleancmd -- 2.35.1