2

我正在研究 yocto,我想在我的文件系统中包含 grub2 可执行文件,例如 grub2-mkconfig。

通过添加以下行,我可以在 yocto 中安装 grub。

MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "grub"
PREFERRED_VERSION_grub ?= "1.99"

当我改变

MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "grub2" or 
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "grub_2"

我得到以下错误

ERROR: Nothing RPROVIDES 'grub2' (but /home/poky/meta/recipes-core/packagegroups/packagegroup-core-boot.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'grub2' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['grub2']
NOTE: Runtime target 'packagegroup-core-boot' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-boot', 'grub2']

如何包含 grub2 支持?

4

0 回答 0