Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1401415 > unrolled thread

4.6 compilation error when making signing key

Started byJames Morris <jmorris@namei.org>
First post2016-05-16 12:10 +0200
Last post2016-05-17 09:00 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  4.6 compilation error when making signing key James Morris <jmorris@namei.org> - 2016-05-16 12:10 +0200
    Re: 4.6 compilation error when making signing key David Howells <dhowells@redhat.com> - 2016-05-16 13:20 +0200
      Re: 4.6 compilation error when making signing key James Morris <jmorris@namei.org> - 2016-05-17 01:40 +0200
        Re: 4.6 compilation error when making signing key David Howells <dhowells@redhat.com> - 2016-05-17 09:00 +0200

#1401415 — 4.6 compilation error when making signing key

FromJames Morris <jmorris@namei.org>
Date2016-05-16 12:10 +0200
Subject4.6 compilation error when making signing key
Message-ID<rznDk-5Bk-19@gated-at.bofh.it>
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
<jmorris@namei.org>

[toc] | [next] | [standalone]


#1401445

FromDavid Howells <dhowells@redhat.com>
Date2016-05-16 13:20 +0200
Message-ID<rzoJ4-6ey-17@gated-at.bofh.it>
In reply to#1401415
James Morris <jmorris@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

[toc] | [prev] | [next] | [standalone]


#1401816

FromJames Morris <jmorris@namei.org>
Date2016-05-17 01:40 +0200
Message-ID<rzAhc-5aA-11@gated-at.bofh.it>
In reply to#1401445
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
<jmorris@namei.org>

[toc] | [prev] | [next] | [standalone]


#1402135

FromDavid Howells <dhowells@redhat.com>
Date2016-05-17 09:00 +0200
Message-ID<rzH8Z-16V-11@gated-at.bofh.it>
In reply to#1401816
James Morris <jmorris@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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web