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-12-12 17:00:09 +0000 |
commit | d19f1a030e5e6dbc8b105a8525bef6d4611f5772 (patch) | |
tree | b27d71ae106e30fce9f4d2f78f07c4b5f5ea3f2a | |
parent | 2e127d4775f55de34b19782be25c7ff933822263 (diff) | |
download | poky-d19f1a030e5e6dbc8b105a8525bef6d4611f5772.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 master rev: b9778975db410b8cd01ef6854c7cd3ea22a0b5b7)
(From OE-Core rev: b14ba80d22f4892a4d9269dbf982b2f88109da98)
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>
Signed-off-by: Robert Yang <liezhi.yang@windriver.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" |