* [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
@ 2016-08-25 9:20 Waldo Mattias
2016-08-25 13:51 ` Burton, Ross
0 siblings, 1 reply; 7+ messages in thread
From: Waldo Mattias @ 2016-08-25 9:20 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
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@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
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
2016-08-25 9:20 [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds Waldo Mattias
@ 2016-08-25 13:51 ` Burton, Ross
2016-08-25 14:02 ` Waldo Mattias
2016-08-25 15:16 ` Waldo Mattias
0 siblings, 2 replies; 7+ messages in thread
From: Burton, Ross @ 2016-08-25 13:51 UTC (permalink / raw)
To: Waldo Mattias; +Cc: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 809 bytes --]
On 25 August 2016 at 10:20, Waldo Mattias <Mattias.Waldo@saabgroup.com>
wrote:
> 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.
>
Are you sure that you based this on current master?
Applying: kernel.bbclass: include signing keys when copying files required
for module builds
Using index info to reconstruct a base tree...
M meta/classes/kernel.bbclass
error: patch failed: meta/classes/kernel.bbclass:295
error: meta/classes/kernel.bbclass: patch does not apply
error: Did you hand edit your patch?
It does not apply to blobs recorded in its index.
Patch failed at 0001 kernel.bbclass: include signing keys when copying
files required for module builds
Ross
[-- Attachment #2: Type: text/html, Size: 1600 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
2016-08-25 13:51 ` Burton, Ross
@ 2016-08-25 14:02 ` Waldo Mattias
2016-08-25 15:16 ` Waldo Mattias
1 sibling, 0 replies; 7+ messages in thread
From: Waldo Mattias @ 2016-08-25 14:02 UTC (permalink / raw)
To: 'Burton, Ross'; +Cc: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
No, I based it on krogoth…sorry. I’ll get back to you with an update. Thanks!
Regards,
Mattias
From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: den 25 augusti 2016 15:51
To: Waldo Mattias <Mattias.Waldo@saabgroup.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
On 25 August 2016 at 10:20, Waldo Mattias <Mattias.Waldo@saabgroup.com<mailto:Mattias.Waldo@saabgroup.com>> wrote:
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.
Are you sure that you based this on current master?
Applying: kernel.bbclass: include signing keys when copying files required for module builds
Using index info to reconstruct a base tree...
M meta/classes/kernel.bbclass
error: patch failed: meta/classes/kernel.bbclass:295
error: meta/classes/kernel.bbclass: patch does not apply
error: Did you hand edit your patch?
It does not apply to blobs recorded in its index.
Patch failed at 0001 kernel.bbclass: include signing keys when copying files required for module builds
Ross
[-- Attachment #2: Type: text/html, Size: 5218 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
2016-08-25 13:51 ` Burton, Ross
2016-08-25 14:02 ` Waldo Mattias
@ 2016-08-25 15:16 ` Waldo Mattias
2016-08-25 16:47 ` Burton, Ross
1 sibling, 1 reply; 7+ messages in thread
From: Waldo Mattias @ 2016-08-25 15:16 UTC (permalink / raw)
To: 'Burton, Ross'; +Cc: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 1264 bytes --]
Version 3 of the patch submitted, this time based on current master – thanks for your patience!
Regards,
Mattias
From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: den 25 augusti 2016 15:51
To: Waldo Mattias <Mattias.Waldo@saabgroup.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
On 25 August 2016 at 10:20, Waldo Mattias <Mattias.Waldo@saabgroup.com<mailto:Mattias.Waldo@saabgroup.com>> wrote:
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.
Are you sure that you based this on current master?
Applying: kernel.bbclass: include signing keys when copying files required for module builds
Using index info to reconstruct a base tree...
M meta/classes/kernel.bbclass
error: patch failed: meta/classes/kernel.bbclass:295
error: meta/classes/kernel.bbclass: patch does not apply
error: Did you hand edit your patch?
It does not apply to blobs recorded in its index.
Patch failed at 0001 kernel.bbclass: include signing keys when copying files required for module builds
Ross
[-- Attachment #2: Type: text/html, Size: 5234 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
2016-08-25 15:16 ` Waldo Mattias
@ 2016-08-25 16:47 ` Burton, Ross
2016-08-26 13:37 ` Waldo Mattias
2016-08-27 9:51 ` Waldo Mattias
0 siblings, 2 replies; 7+ messages in thread
From: Burton, Ross @ 2016-08-25 16:47 UTC (permalink / raw)
To: Waldo Mattias; +Cc: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
On 25 August 2016 at 16:16, Waldo Mattias <Mattias.Waldo@saabgroup.com>
wrote:
> Version 3 of the patch submitted, this time based on current master –
> thanks for your patience!
>
>
Something really odd is going on here... the references blobs in the patch
don't exist according to my git, and it looks like the whitespace is being
mangled. Can you verify that you're basing this patch from origin/master
or poky or oe-core, and use git-send-email to ensure that the whitespace
doesn't get trashed?
I'd normally just manually apply but something odd is happening and I'd
like to figure out what it is!
Ross
[-- Attachment #2: Type: text/html, Size: 1220 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
2016-08-25 16:47 ` Burton, Ross
@ 2016-08-26 13:37 ` Waldo Mattias
2016-08-27 9:51 ` Waldo Mattias
1 sibling, 0 replies; 7+ messages in thread
From: Waldo Mattias @ 2016-08-26 13:37 UTC (permalink / raw)
To: 'Burton, Ross'; +Cc: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]
I’m behind a corporate firewall, so git-send-email doesn’t work. I’ll see what I can do…
/Mattias
From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: den 25 augusti 2016 18:48
To: Waldo Mattias <Mattias.Waldo@saabgroup.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
On 25 August 2016 at 16:16, Waldo Mattias <Mattias.Waldo@saabgroup.com<mailto:Mattias.Waldo@saabgroup.com>> wrote:
Version 3 of the patch submitted, this time based on current master – thanks for your patience!
Something really odd is going on here... the references blobs in the patch don't exist according to my git, and it looks like the whitespace is being mangled. Can you verify that you're basing this patch from origin/master or poky or oe-core, and use git-send-email to ensure that the whitespace doesn't get trashed?
I'd normally just manually apply but something odd is happening and I'd like to figure out what it is!
Ross
[-- Attachment #2: Type: text/html, Size: 4630 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
2016-08-25 16:47 ` Burton, Ross
2016-08-26 13:37 ` Waldo Mattias
@ 2016-08-27 9:51 ` Waldo Mattias
1 sibling, 0 replies; 7+ messages in thread
From: Waldo Mattias @ 2016-08-27 9:51 UTC (permalink / raw)
To: 'Burton, Ross'; +Cc: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]
Version 4 of the patch seems to apply cleanly, at least to my local oe-core and poky repos. I guess my attempt to outsmart the company firewall got tabs and spaces mixed up – in the end, I had to re-send the patch from my own Linux machine. Thanks again for your patience.
/Mattias
From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: den 25 augusti 2016 18:48
To: Waldo Mattias <Mattias.Waldo@saabgroup.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds
On 25 August 2016 at 16:16, Waldo Mattias <Mattias.Waldo@saabgroup.com<mailto:Mattias.Waldo@saabgroup.com>> wrote:
Version 3 of the patch submitted, this time based on current master – thanks for your patience!
Something really odd is going on here... the references blobs in the patch don't exist according to my git, and it looks like the whitespace is being mangled. Can you verify that you're basing this patch from origin/master or poky or oe-core, and use git-send-email to ensure that the whitespace doesn't get trashed?
I'd normally just manually apply but something odd is happening and I'd like to figure out what it is!
Ross
[-- Attachment #2: Type: text/html, Size: 4734 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-08-27 9:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25 9:20 [PATCH v2] kernel.bbclass: include signing keys when copying files required for module builds Waldo Mattias
2016-08-25 13:51 ` Burton, Ross
2016-08-25 14:02 ` Waldo Mattias
2016-08-25 15:16 ` Waldo Mattias
2016-08-25 16:47 ` Burton, Ross
2016-08-26 13:37 ` Waldo Mattias
2016-08-27 9:51 ` Waldo Mattias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox