[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210509151556.GA842014@gmail.com>
Date: Sun, 9 May 2021 17:15:56 +0200
From: Ingo Molnar <mingo@...nel.org>
To: David Howells <dhowells@...hat.com>
Cc: Valdis Klētnieks <valdis.kletnieks@...edu>,
David Woodhouse <dwmw2@...radead.org>,
keyrings@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: 'make O=' indigestion with module signing
* Ingo Molnar <mingo@...nel.org> wrote:
>
> * David Howells <dhowells@...hat.com> wrote:
>
> > Valdis Klētnieks <valdis.kletnieks@...edu> wrote:
> >
> > > So the root cause was: 'make mrproper doesn't clean certs/' out enough,
> > > and this chunk of certs/Makefile
> > > ...
> > > I admit not being sure how (or if) this should be fixed
> >
> > It's tricky because CONFIG_MODULE_SIG_KEY may not point to a file, let alone a
> > file that was autogenerated - it can be given a PKCS#11 URI, for instance. I
> > had to put in the autogeneration based on a magic config string value to stop
> > randconfig blowing up - but it only does the autogeneration if you don't put
> > in your own file there before building.
> >
> > Possibly I can add something like:
> >
> > clean-files := signing_key.pem x509.genkey
> >
> > inside the
> >
> > ifeq ($(CONFIG_MODULE_SIG_KEY),"certs/signing_key.pem")
> > ...
> > endif
> >
> > section.
>
> Note that this bug is now upstream in Linus's tree and has broken
> the deb-pkg distro kernel build method.
>
> Would be nice to make 'make mrproper' work again.
Correction - there appears to be something else going on, but the
error messages are similar:
At main.c:291:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
sign-file: debian/linux-image/lib/modules/5.12.0-custom/kernel/arch/x86/crypto/aegis128-aesni.ko: No such file or directory
At main.c:291:
The error messages look pretty obscure to me. :-/
Thanks,
Ingo
Powered by blists - more mailing lists