【问题标题】:add git to yocto image将 git 添加到 yocto 图像
【发布时间】:2020-06-22 17:32:35
【问题描述】:

为了开发,我想将 git 添加到我的 yocto 图像中。所以我加了

IMAGE_INSTALL += "git"

到我的`local.conf。但是当我运行 qemu 时,我直接遇到了这个崩溃:

Welcome to GRUB!

lock: OK
lock: OK

error: file `/boot/bzImage' not found.

Dropping to grub prompt for unknown reason. Should never get here.

知道为什么吗? 干杯

【问题讨论】:

    标签: git yocto bitbake grub


    【解决方案1】:

    我必须将IMAGE_INSTALL += "git"local.conf 移动到我实际构建的图像的图像配方中才能完成这项工作。我没有解释,但以这种方式固定添加git。非常欢迎任何解释。

    编辑:查看 Erik 的答案以获得进一步解释:Yocto Image file size reduces after adding a particular package

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-02-11
    • 1970-01-01
    • 1970-01-01
    • 2021-03-18
    • 2022-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多