-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
efi: only read ADV when booting from disk
We aren't expecting to be able to access ldlinux.sys when booting over PXE. Follow the pre-5.00 behaviour and simply initialise the ADV buffer without even attempting to open the file. Also, delete all references to EXTLINUX, we do not support it under EFI. Without this patch we hang in efi_open() when booting PXELINUX because no root volume is set as we're not booting from disk. This regression was caused by commit a17fdfb ("com32: Catch up with GCC changes to ctor/dtor funcs") because now constructors are actually being invoked on EFI and efi_adv_init() is called by __syslinux_init(). Signed-off-by: Matt Fleming <[email protected]>
- Loading branch information
Matt Fleming
committed
Jul 3, 2013
1 parent
b63e0f2
commit 0aad5be
Showing
2 changed files
with
17 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters