mirror of
git://git.yoctoproject.org/poky
synced 2026-09-16 18:57:51 +00:00
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. (From OE-Core rev: 2527e731eba43bd36d0ea268aca6b03155376134) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cfb190a3c9
commit
1b5bd0bceb
@ -454,7 +454,7 @@ do_shared_workdir () {
|
|||||||
cp .config $kerneldir/
|
cp .config $kerneldir/
|
||||||
mkdir -p $kerneldir/include/config
|
mkdir -p $kerneldir/include/config
|
||||||
cp include/config/kernel.release $kerneldir/include/config/kernel.release
|
cp include/config/kernel.release $kerneldir/include/config/kernel.release
|
||||||
if [ -e certs/signing_key.pem ]; then
|
if [ -e certs/signing_key.x509 ]; then
|
||||||
# The signing_key.* files are stored in the certs/ dir in
|
# The signing_key.* files are stored in the certs/ dir in
|
||||||
# newer Linux kernels
|
# newer Linux kernels
|
||||||
mkdir -p $kerneldir/certs
|
mkdir -p $kerneldir/certs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user