diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 023e308869..d6a0ca8504 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -360,6 +360,14 @@ do_shared_workdir () { | |||
360 | cp .config $kerneldir/ | 360 | cp .config $kerneldir/ |
361 | mkdir -p $kerneldir/include/config | 361 | mkdir -p $kerneldir/include/config |
362 | cp include/config/kernel.release $kerneldir/include/config/kernel.release | 362 | cp include/config/kernel.release $kerneldir/include/config/kernel.release |
363 | if [ -e certs/signing_key.pem ]; then | ||
364 | # The signing_key.* files are stored in the certs/ dir in | ||
365 | # newer Linux kernels | ||
366 | mkdir -p $kerneldir/certs | ||
367 | cp certs/signing_key.* $kerneldir/certs/ | ||
368 | elif [ -e signing_key.priv ]; then | ||
369 | cp signing_key.* $kerneldir/ | ||
370 | fi | ||
363 | 371 | ||
364 | # We can also copy over all the generated files and avoid special cases | 372 | # We can also copy over all the generated files and avoid special cases |
365 | # like version.h, but we've opted to keep this small until file creep starts | 373 | # like version.h, but we've opted to keep this small until file creep starts |