linux - 在 certs/x509_certificate_list 需要时编译 linux 内核时没有规则来制定目标。停止
问题描述
我正在尝试编译内核(以前没有这样做过)我收到错误,如下面的屏幕商店
我尚未验证从 kernel.org 下载的内核(未验证签名)其版本 Linux 5.10.33。这个内核也有一个签名。
我想知道如何解决这个错误。
如果它发生是因为我没有验证签名然后想知道
-> 如何跳过签名检查并继续编译内核到最后并获得最终输出文件/文件以便我可以安装它(linux 5.10.33)
-> 如何验证签名并能够解决此错误并编译内核
解决方案
对于你的第一个问题:
-> 如何跳过签名检查并继续编译内核到最后并获得最终输出文件/文件以便我可以安装它(linux 5.10.33)
通过菜单配置 UI 更改您的 .config:
# Navigate to the linux source directory (mine is at the root dir)
cd /linux
# start the editable menuconfig UI
make menuconfig
# Navigate to:
# Cryptographic API
# > Certificates for signature checking
# > X.509 certificates to be preloaded into the system blacklist keyring
# Change the 'debian/certs/debian-uefi-certs.pem' string to ''
# Save your .config and exit the menuconfig UI
推荐阅读
- ios - 如何在目标 c 中配置 web 视图滚动?
- dart - 热重载后显示的值,但单击后为空
- jmeter - 在我的 JMeter 结果中创建了重复的 HTTP 请求文件
- ios - 如何在Objective c中删除此警告重新定义方法?
- xaml - 在 UWP 中的后按时停止视频的问题
- r - 如何在 gWidgets2tcltk 中检索复选框状态(在 gWidgets2RGtk2 中工作)
- javascript - 在 Javascript 中解析 Django DateTimeField
- python - 如何在 OpenCV 中构造二值图像的水平投影
- javascript - 如何将布尔值设置为数组内的变量并使用节点 js 检查该值?
- azure-active-directory - 如何根据访问令牌获取用户信息