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>
This commit is contained in:
Saul Wold 2017-01-24 13:33:15 -08:00 committed by Richard Purdie
parent 01997345a0
commit 0df07f4144
1 changed files with 2 additions and 2 deletions

View File

@ -16,10 +16,10 @@ python __anonymous () {
target = d.getVar('TARGET_ARCH')
if target == "x86_64":
grubtarget = 'x86_64'
grubimage = "bootx64.efi"
grubimage = "grub-efi-bootx64.efi"
elif re.match('i.86', target):
grubtarget = 'i386'
grubimage = "bootia32.efi"
grubimage = "grub-efi-bootia32.efi"
else:
raise bb.parse.SkipPackage("grub-efi is incompatible with target %s" % target)
d.setVar("GRUB_TARGET", grubtarget)