diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-01-24 13:33:15 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 14:43:02 +0000 |
commit | 0df07f41442c13039593a6827828490caa34f297 (patch) | |
tree | 5f36a1dc850762bc3135fdbba910fbeb45cc6a86 /meta/recipes-bsp/grub | |
parent | 01997345a089d738e0b2d70e6d94b3fed27196f6 (diff) | |
download | poky-0df07f41442c13039593a6827828490caa34f297.tar.gz |
grub-efi: Deploy grub named efi binaries
This allows both grub and systemd-boot efi bootloaders to co-exisit
(From OE-Core rev: 26f4eb19b6e9c71374659605a01af762a0361f41)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub')
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi_2.00.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.00.bb b/meta/recipes-bsp/grub/grub-efi_2.00.bb index 03d273dbd9..e0503013fd 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.00.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.00.bb | |||
@@ -16,10 +16,10 @@ python __anonymous () { | |||
16 | target = d.getVar('TARGET_ARCH') | 16 | target = d.getVar('TARGET_ARCH') |
17 | if target == "x86_64": | 17 | if target == "x86_64": |
18 | grubtarget = 'x86_64' | 18 | grubtarget = 'x86_64' |
19 | grubimage = "bootx64.efi" | 19 | grubimage = "grub-efi-bootx64.efi" |
20 | elif re.match('i.86', target): | 20 | elif re.match('i.86', target): |
21 | grubtarget = 'i386' | 21 | grubtarget = 'i386' |
22 | grubimage = "bootia32.efi" | 22 | grubimage = "grub-efi-bootia32.efi" |
23 | else: | 23 | else: |
24 | raise bb.parse.SkipPackage("grub-efi is incompatible with target %s" % target) | 24 | raise bb.parse.SkipPackage("grub-efi is incompatible with target %s" % target) |
25 | d.setVar("GRUB_TARGET", grubtarget) | 25 | d.setVar("GRUB_TARGET", grubtarget) |