[OE-core] [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
Waldo Mattias
Mattias.Waldo at saabgroup.com
Thu Aug 25 09:20:33 UTC 2016
The absence of certs/signing_key.* in $kerneldir made signing of
out-of-tree kernel modules fail (silently). Add copying of these files
during the shared_workdir task.
Signed-off-by: Mattias Waldo <mattias.waldo at saabgroup.com>
---
meta/classes/kernel.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6e3e81e..2bfd65c 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -295,6 +295,8 @@ do_shared_workdir () {
cp .config $kerneldir/
mkdir -p $kerneldir/include/config
cp include/config/kernel.release $kerneldir/include/config/kernel.release
+ mkdir -p $kerneldir/certs
+ cp certs/signing_key.* $kerneldir/certs
# We can also copy over all the generated files and avoid special cases
# like version.h, but we've opted to keep this small until file creep starts
--
2.9.3
More information about the Openembedded-core
mailing list