type
status
slug
summary
tags
category
icon
password
new update day
Property
Jul 7, 2023 02:45 AM
created days
Last edited time
Jul 7, 2023 02:45 AM

问题描述

最近在使用 Ubtuntu 22.04 自编译内核的时候在获取原本的 .config 的然后进行时候发现报证书错误。
make[1]: *** No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'. Stop. make: *** [Makefile:1809: certs] Error 2

解决方法

运行“make menuconfig”后只需执行以下两个命令
scripts/config --disable SYSTEM_TRUSTED_KEYS scripts/config --disable SYSTEM_REVOCATION_KEYS
当“make”命令运行时,如果出现任何与证书相关的问题,只需按 Enter 键即可。
 
欢迎加入喵星计算机技术研究院,原创技术文章第一时间推送。
notion image
 
如何在 ubuntu 上自编译内核的时候手动生成 initramfs使用 ccache 加速内核编译