diff options
author | Joao Henrique Ferreira de Freitas <joaohf@gmail.com> | 2013-10-30 08:37:42 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-01 11:09:04 +0000 |
commit | cc0baf18351592ef623836f4488a6063df77c80a (patch) | |
tree | 0ef471cc19b4081077ddb602b192c77d63bb420f | |
parent | 678a4fa22f5569d75a13eb39d586cdcf033bdeb0 (diff) | |
download | poky-cc0baf18351592ef623836f4488a6063df77c80a.tar.gz |
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.
(From OE-Core rev: b9778975db410b8cd01ef6854c7cd3ea22a0b5b7)
Signed-off-by: Joao Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 96fb98b043..3765bfd8a2 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass | |||
@@ -16,6 +16,7 @@ | |||
16 | # ${GRUB_TIMEOUT} - timeout before executing the deault label (optional) | 16 | # ${GRUB_TIMEOUT} - timeout before executing the deault label (optional) |
17 | 17 | ||
18 | do_bootimg[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy" | 18 | do_bootimg[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy" |
19 | do_bootdirectdisk[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy" | ||
19 | 20 | ||
20 | GRUB_SERIAL ?= "console=ttyS0,115200" | 21 | GRUB_SERIAL ?= "console=ttyS0,115200" |
21 | GRUBCFG = "${S}/grub.cfg" | 22 | GRUBCFG = "${S}/grub.cfg" |