96boards / meta-96boards

OpenEmbedded BSP Layer for the 96boards.org boards
MIT License
41 stars 59 forks source link

grub recipe is conflicting with oe-core #240

Open kraj opened 6 years ago

kraj commented 6 years ago

When I have meta-96boards in layermix and try to build for qemux86 it ends up with these horrendous errors

It could be that one recipe provides something the other doesn't and should. The following provider and runtime provider differences may be helpful.
/mnt/a/oe/sources/openembedded-core/meta/recipes-bsp/grub/grub-efi_2.02.bb has unique provides:

/mnt/a/oe/sources/openembedded-core/meta/recipes-bsp/grub/grub-efi_2.02.bb has unique rprovides:
  grub-efi-doc
  grub-efi-locale
  grub-efi-dbg
  ^grub-efi-locale-.*
  grub-efi-staticdev
  grub-efi-dev
/mnt/a/oe/sources/meta-96boards/recipes-bsp/grub/grub_git.bb has unique provides:
  grub
/mnt/a/oe/sources/meta-96boards/recipes-bsp/grub/grub_git.bb has unique rprovides:
  grub-dbg
  grub-doc
  grub-staticdev
  grub
  grub-dev
  grub-locale
  ^grub-locale-.*
ERROR: Multiple versions of grub are due to be built (/mnt/a/oe/sources/meta-96boards/recipes-bsp/grub/grub_git.bb /mnt/a/oe/sources/openembedded-core/meta/recipes-bsp/grub/grub_2.02.bb). Only one version of a given PN should be built in any given build. You likely need t
o set PREFERRED_VERSION_grub to select the correct version or don't depend on multiple versions.

So the question is

is this recipe still relevant ? whats missing in OE-Core recipe ? Can the differences be reconciled and upstreamed ?

AARCH64 seems to be fully supported in the version of grub thats provided by OE-Core

rsalveti commented 6 years ago

Proposed #242 to migrate to the upstream grub-efi implementation as I also have a similar issue when using this layer with others not related with 96boards.