Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

4.6 compilation error when making signing key

231 views
Skip to first unread message

James Morris

unread,
May 16, 2016, 6:09:10 AM5/16/16
to David Howells, Linus Torvalds, linux-...@vger.kernel.org
I'm seeing this with the 4.6 kernel build:

CHK include/generated/compile.h
make[1]: *** No rule to make target `signing_key.pem', needed by
`certs/signing_key.x509'. Stop.
make: *** [certs] Error 2


--
James Morris
<jmo...@namei.org>

David Howells

unread,
May 16, 2016, 7:14:56 AM5/16/16
to James Morris, dhow...@redhat.com, Linus Torvalds, linux-...@vger.kernel.org
James Morris <jmo...@namei.org> wrote:

> I'm seeing this with the 4.6 kernel build:
>
> CHK include/generated/compile.h
> make[1]: *** No rule to make target `signing_key.pem', needed by
> `certs/signing_key.x509'. Stop.
> make: *** [certs] Error 2

Can I have a look at your .config just in case? I presume you don't have a
signing_key.pem anywhere?

David

James Morris

unread,
May 16, 2016, 7:37:40 PM5/16/16
to David Howells, Linus Torvalds, linux-...@vger.kernel.org
CONFIG_MODULE_SIG_KEY="signing_key.pem"

This should be 'certs/signing_key.pem', right?

I'm not sure how it ended up like that -- perhaps something happened in my
next branch (which shares the same .config generally).



--
James Morris
<jmo...@namei.org>

David Howells

unread,
May 17, 2016, 2:57:11 AM5/17/16
to James Morris, dhow...@redhat.com, Linus Torvalds, linux-...@vger.kernel.org
James Morris <jmo...@namei.org> wrote:

> CONFIG_MODULE_SIG_KEY="signing_key.pem"
>
> This should be 'certs/signing_key.pem', right?

Yeah - it only gets autogenerated if it's that:

ifeq ($(CONFIG_MODULE_SIG_KEY),"certs/signing_key.pem")

from certs/Makefile.

It may have leaked from an earlier version before the mechanism got moved to
the certs/ directory.

David
0 new messages