summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Henrique Ferreira de Freitas <joaohf@gmail.com>2013-10-30 08:37:42 -0200
committerSaul Wold <sgw@linux.intel.com>2013-10-31 23:57:04 -0700
commitb9778975db410b8cd01ef6854c7cd3ea22a0b5b7 (patch)
treef28ff67306d4928993bfc6ac625fe6fa9f77876e
parent263e654e5d28fa7f6b0c8cc23f57a31448e88a40 (diff)
downloadopenembedded-core-b9778975db410b8cd01ef6854c7cd3ea22a0b5b7.tar.gz
openembedded-core-b9778975db410b8cd01ef6854c7cd3ea22a0b5b7.tar.bz2
openembedded-core-b9778975db410b8cd01ef6854c7cd3ea22a0b5b7.zip
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@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/grub-efi.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 96fb98b043..3765bfd8a2 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"