Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need to check if "loader_str" is an actual path or not. #620

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 13, 2023

  1. We need to check if "loader_str" is an actual path or not.

    The string "loader_str" we got from split_load_options() is considered as a path
    but it could be other things, for example:
    		"S xBCDOBJECT={9dea862c-5cdd-4e70-acc1-f32b344d4795}"
    		This is a Microsoft BCD object which represents the MS Boot loader:
    		BCDEDIT Friendly Name: {bootmgr}
     		Symbolic Name: G:UID_WINDOWS_BOOTMGR
    		GUID: {9dea862c-5cdd-4e70-acc1-f32b344d4795}
    This value is what normally the bootmgfw.efi file is expecting.
    The shim in some situations could replace bootmgfw.efi for various reasons.
    
    We need to ignore such arguments and use the DEFAULT_LOADER.
    
    Signed-off-by: Bogdan Ariton <bogdan.mihail.ariton@gmail.com>
    BogdanAriton committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    36adff8 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Update whitespaces for consistency

    Signed-off-by: Bogdan Ariton <bogdan.mihail.ariton@gmail.com>
    BogdanAriton committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    a4a40f2 View commit details
    Browse the repository at this point in the history