Re: RFC: sign the modules at install time

From: Linus Torvalds
Date: Wed Oct 17 2012 - 20:06:57 EST


On Wed, Oct 17, 2012 at 4:44 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I'll send out a fixed patch asap,

Ok, this is not pretty, and I think it generates the .signer and
.keyid files at the wrong time.

I do the kernel build as a regular user, and just "make install" as
root, and now it generates those turds as root-owned files. Ugly.

But I took the code from the parts I had deleted in my over-eager
"delete as much as possible of the strip-and-sign code", and moved it
to the install phase. So this is the obvious quick fix, but I'm sure
there are better solutions.

Linus

Attachment: patch.diff
Description: Binary data