Skip to contentSkip to conversation

grub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class

PATCH New Joao Henrique Ferreira de Freitas 1 participant 1 message Oct 30, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 grub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class

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.

---
 meta/classes/grub-efi.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/grub-efi.bbclass +1 -0
index 96fb98b..3765bfd 100644
@@ -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"
Signature · 1 line
1.8.3.2