]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class
authorJoao Henrique Ferreira de Freitas <joaohf@gmail.com>
Wed, 30 Oct 2013 10:37:42 +0000 (08:37 -0200)
committerSaul Wold <sgw@linux.intel.com>
Fri, 1 Nov 2013 06:57:04 +0000 (23:57 -0700)
When boot-directdisk class is used and EFI boot is set the
grub-efi-${TRANSLATED_TARGET_ARCH}-native need to be dependent.
Allowing GRUB_IMAGE to be created and bootia32.efi got from the
image directory.

Signed-off-by: Joao Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/grub-efi.bbclass

index 96fb98b043eaca9697dede2ca5b8d73fb2bc654f..3765bfd8a2f58fe8567359f7e1e0327f1a677e25 100644 (file)
@@ -16,6 +16,7 @@
 # ${GRUB_TIMEOUT} - timeout before executing the deault label (optional)
 
 do_bootimg[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy"
+do_bootdirectdisk[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy"
 
 GRUB_SERIAL ?= "console=ttyS0,115200"
 GRUBCFG = "${S}/grub.cfg"