【问题标题】:No rule to make target when compiling linux kernel when needed by certs/x509_certificate_list . stop在 certs/x509_certificate_list 需要时编译 linux 内核时没有规则来制定目标。停止
【发布时间】:2021-05-14 07:43:21
【问题描述】:

我正在尝试编译内核(以前没有这样做过)我收到如下屏幕商店中的错误

我没有验证内核(没有验证签名)它从 kernel.org 下载的 Linux 5.10.33 版本。该内核还有一个签名。

我想知道如何解决这个错误。

如果它发生是因为我没有验证签名然后想知道

-> 如何跳过签名检查并继续编译内核到最后并获得最终输出文件/文件以便我可以安装它(linux 5.10.33)

->如何验证签名并能够解决此错误并编译内核

【问题讨论】:

  • 请复制并粘贴错误消息作为文本,而不是显示屏幕截图。显示您用于配置和构建内核的所有命令。您遵循了哪些指示?

标签: linux makefile compiler-errors compilation linux-kernel


【解决方案1】:

第一个问题:

-> 如何跳过签名检查并继续编译内核到最后并获得最终输出文件/文件以便我可以安装它(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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-05-12
    • 1970-01-01
    • 1970-01-01
    • 2014-02-21
    • 1970-01-01
    • 1970-01-01
    • 2020-01-30
    • 2014-12-23
    相关资源
    最近更新 更多