]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: fix installation of modules signing certificates
authorDmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Tue, 29 Oct 2019 09:47:14 +0000 (10:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Oct 2019 13:47:04 +0000 (13:47 +0000)
commit6ab0206b8252755367f2357f49007dd78336fec0
treeb93e2b0b7871fbd555fd1f3ce7d5b43e432f4dc4
parentb6e17afc06d7a44dc9774ee98de7f186580ddf0d
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass