diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-02 15:34:29 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-02 15:34:29 +0200 |
commit | 4f8dc303b26b27c7646710ec76bd464672b3adfc (patch) | |
tree | 36ade90421db7ef1e3995ff70f451f39eb23b7ae | |
parent | 54ef9bf3be433b3777d62191e973c3863aec9bc6 (diff) |
arch ifdef fallback boot loader entry
-rw-r--r-- | gummiboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gummiboot.c b/gummiboot.c index 5dc2461..2d3caec 100644 --- a/gummiboot.c +++ b/gummiboot.c @@ -1237,8 +1237,10 @@ EFI_STATUS EFIAPI efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) { config_load(&config, root_dir, loaded_image_path); FreePool(loaded_image_path); +#ifdef __x86_64__ /* add fallback entry to the end of the list */ config_entry_add_loader(&config, root_dir, L"fallback", L"EFI default loader", L"\\EFI\\BOOT\\BOOTX64.EFI"); +#endif /* select entry by configured pattern or EFI LoaderDefaultEntry= variable*/ config_default_entry_select(&config); |