在yocto rootfs中安装grub2

时间:2016-10-13 12:27:30

标签: yocto grub2

我正在开发yocto,我想在我的文件系统中包含grub2-exkable,例如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支持?

0 个答案:

没有答案