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

login
register
mail settings
Submitter João Henrique Freitas
Date Oct. 30, 2013, 10:37 a.m.
Message ID <1383129462-27158-1-git-send-email-joaohf@gmail.com>
Download mbox | patch
Permalink /patch/60757/
State Accepted
Commit cc0baf18351592ef623836f4488a6063df77c80a
Headers show

Comments

João Henrique Freitas - Oct. 30, 2013, 10:37 a.m.
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>
---
 meta/classes/grub-efi.bbclass | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 96fb98b..3765bfd 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -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"