All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to make file
@ 2023-10-07 13:50 Calvince Otieno
  2023-10-07 13:58 ` Isoken Ibizugbe
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Calvince Otieno @ 2023-10-07 13:50 UTC (permalink / raw)
  To: outreachy

Hello team!

I have a problem. I tried running the Make file and I got this error message:

make[3]: *** No rule to make target 'debian/canonical-certs.pem',
needed by 'certs/x509_certificate_list'.  Stop.

make[2]: *** [scripts/Makefile.build:480: certs] Error 2

make[1]: *** [/home/calvince/Documents/labs/git/kernels/staging/Makefile:1913:
.] Error 2

make: *** [Makefile:234: __sub-make] Error 2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to make file
  2023-10-07 13:50 Unable to make file Calvince Otieno
@ 2023-10-07 13:58 ` Isoken Ibizugbe
  2023-10-07 14:00 ` Julia Lawall
  2023-10-07 14:14 ` Bagas Sanjaya
  2 siblings, 0 replies; 4+ messages in thread
From: Isoken Ibizugbe @ 2023-10-07 13:58 UTC (permalink / raw)
  To: Calvince Otieno; +Cc: outreachy

This is discussed here:

https://stackoverflow.com/questions/67670169/compiling-kernel-gives-error-no-rule-to-make-target-debian-certs-debian-uefi-ce

You can just follow the instructions about removing the whole key thing:

This thread might help you :
lists.debian.org/debian-kernel/2016/04/msg00579.html. In the .config file
copied from /boot find and comment out the lines CONFIG_SYSTEM_TRUSTED_KEY
and CONFIG_MODULE_SIG_KEY. –
Altaf
May 24, 2021 at 11:17

Then you can run make olddefconfig before trying again to compile.

On Sat, Oct 7, 2023 at 2:50 PM Calvince Otieno <calvncce@gmail.com> wrote:
>
> Hello team!
>
> I have a problem. I tried running the Make file and I got this error message:
>
> make[3]: *** No rule to make target 'debian/canonical-certs.pem',
> needed by 'certs/x509_certificate_list'.  Stop.
>
> make[2]: *** [scripts/Makefile.build:480: certs] Error 2
>
> make[1]: *** [/home/calvince/Documents/labs/git/kernels/staging/Makefile:1913:
> .] Error 2
>
> make: *** [Makefile:234: __sub-make] Error 2
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to make file
  2023-10-07 13:50 Unable to make file Calvince Otieno
  2023-10-07 13:58 ` Isoken Ibizugbe
@ 2023-10-07 14:00 ` Julia Lawall
  2023-10-07 14:14 ` Bagas Sanjaya
  2 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2023-10-07 14:00 UTC (permalink / raw)
  To: Calvince Otieno; +Cc: outreachy



On Sat, 7 Oct 2023, Calvince Otieno wrote:

> Hello team!
>
> I have a problem. I tried running the Make file and I got this error message:
>
> make[3]: *** No rule to make target 'debian/canonical-certs.pem',
> needed by 'certs/x509_certificate_list'.  Stop.

This page has several suggestions:

https://stackoverflow.com/questions/67670169/compiling-kernel-gives-error-no-rule-to-make-target-debian-certs-debian-uefi-ce

Maybe try:

scripts/config --disable SYSTEM_TRUSTED_KEYS
scripts/config --disable SYSTEM_REVOCATION_KEYS

julia

>
> make[2]: *** [scripts/Makefile.build:480: certs] Error 2
>
> make[1]: *** [/home/calvince/Documents/labs/git/kernels/staging/Makefile:1913:
> .] Error 2
>
> make: *** [Makefile:234: __sub-make] Error 2
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to make file
  2023-10-07 13:50 Unable to make file Calvince Otieno
  2023-10-07 13:58 ` Isoken Ibizugbe
  2023-10-07 14:00 ` Julia Lawall
@ 2023-10-07 14:14 ` Bagas Sanjaya
  2 siblings, 0 replies; 4+ messages in thread
From: Bagas Sanjaya @ 2023-10-07 14:14 UTC (permalink / raw)
  To: Calvince Otieno, Linux Outreachy, Linux Kernel Mailing List,
	Linux Kernel Build System

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

On Sat, Oct 07, 2023 at 04:50:32PM +0300, Calvince Otieno wrote:
> Hello team!
> 
> I have a problem. I tried running the Make file and I got this error message:
> 
> make[3]: *** No rule to make target 'debian/canonical-certs.pem',
> needed by 'certs/x509_certificate_list'.  Stop.
> 
> make[2]: *** [scripts/Makefile.build:480: certs] Error 2
> 
> make[1]: *** [/home/calvince/Documents/labs/git/kernels/staging/Makefile:1913:
> .] Error 2
> 
> make: *** [Makefile:234: __sub-make] Error 2

If you need to keep your modules signed, you have to generate your own
certificate. See Documentation/admin-guide/module-signing.rst in the kernel
sources for how to do that.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-07 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-07 13:50 Unable to make file Calvince Otieno
2023-10-07 13:58 ` Isoken Ibizugbe
2023-10-07 14:00 ` Julia Lawall
2023-10-07 14:14 ` Bagas Sanjaya

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.