]> code.ossystems Code Review - openembedded-core.git/commit
grub-efi.bbclass: Fix startup.nsh to work on more EFI revs
authorJason Wessel <jason.wessel@windriver.com>
Wed, 30 Oct 2013 17:35:17 +0000 (12:35 -0500)
committerSaul Wold <sgw@linux.intel.com>
Fri, 1 Nov 2013 06:57:04 +0000 (23:57 -0700)
commit754b52ea7a3cdf8e7e939a314525d16c4dfb52cb
tree875ffc0ddba2c80d4050de490ced5b878eb2b2b6
parent2d9114aaf130179cb13c20c8b045c2694eca6fd9
grub-efi.bbclass: Fix startup.nsh to work on more EFI revs

Some revs of the EFI firmware + shell do not automatically setup the
path in a such a way as to execute a binary without an absolute
reference like "FS0:\EFI\BOOT\bootx64.efi".  All the versions that I
have tested work properly by simply calling the binary which is in the
EFI\BOOT directory by name like "bootx64.efi".

The error you see on the console looks like the following:

startup.nsh> EFI\BOOT\bootx64.efi
'EFI\BOOT\bootx64.efi' is not recognized as an internal or external command, operable program, or batch file
Shell>

This patch simply drops the EFI\BOOT for greater compatibility.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/grub-efi.bbclass