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:
parent
01997345a0
commit
0df07f4144
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue