]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: fix installation of modules signing certificates
authorDmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Fri, 11 Oct 2019 08:16:49 +0000 (10:16 +0200)
committerArmin Kuster <akuster808@gmail.com>
Sun, 13 Oct 2019 15:30:04 +0000 (08:30 -0700)
commit4972582767a3325d22a16db9a5479c2d0001964b
tree2b35399781062156c1de2faf913ea5c9b0d4c137
parente6728a873f1eef335a9e21bdface304f13f0c952
kernel.bbclass: fix installation of modules signing certificates

If one has provided external key/certificate for modules signing, Kbuild
will skip creating signing_key.pem and will write only signing_key.x509
certificate. Thus we have to check for .x509 file existence rather than
.pem one.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2527e731eba43bd36d0ea268aca6b03155376134)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/kernel.bbclass