1

I am working on yocto, I want to include grub2 exectables such as grub2-mkconfig in my filesystem.

I am able to install grub in yocto, by adding below line.

MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "grub"
PREFERRED_VERSION_grub ?= "1.99"

when I change

MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "grub2" or 
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "grub_2"

I got below error

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']

How can I include grub2 support?

pmod
  • 10,450
  • 1
  • 37
  • 50
anikhan
  • 1,147
  • 3
  • 18
  • 44
  • The recipe of 'grub 2' is also just 'grub'. Does it work to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to 'grub' and PREFERRED_VERSION_grub ?= "2.00" or "2.%" – Fl0v0 Oct 13 '16 at 15:54
  • I canged MACHINE_ESSENTIAL_EXTRA_RDEPENDS to 'grub' and PREFERRED_VERSION_grub ?= "2.00" still i have "grub-mkconfg" rather than grub2-mkconfig – user1177187 Oct 19 '16 at 15:25
  • 1
    Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See [What topics can I ask about here](http://stackoverflow.com/help/on-topic) in the Help Center. Perhaps [Super User](http://superuser.com/) or [Unix & Linux Stack Exchange](http://unix.stackexchange.com/) would be a better place to ask. – jww Jun 20 '17 at 16:40
  • 5
    This question is not off-topic. Yocto is the major cross-platform build system used today for embedded Linux software development. – ClayMontgomery Jul 15 '18 at 18:46

0 Answers0