[oe-commits] Joao Henrique Ferreira de Freitas : grub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class

git at git.openembedded.org git at git.openembedded.org
Fri Nov 1 17:49:57 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: b9778975db410b8cd01ef6854c7cd3ea22a0b5b7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b9778975db410b8cd01ef6854c7cd3ea22a0b5b7

Author: Joao Henrique Ferreira de Freitas <joaohf at gmail.com>
Date:   Wed Oct 30 08:37:42 2013 -0200

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.

Signed-off-by: Joao Henrique Ferreira de Freitas <joaohf at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/grub-efi.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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"



More information about the Openembedded-commits mailing list