URL:
  <http://savannah.gnu.org/bugs/?45876>

                 Summary: efi: add a command to read efi variables from shell
and configuration files
                 Project: GNU GRUB
            Submitted by: ignat
            Submitted on: Fri 04 Sep 2015 12:14:00 GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Ignat Korchagin
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

We added a module to able to read EFI variables from configfile. Currently we
use it for Secure Boot. This allows us to do following in grub.cfg:

# check whether Secure Boot is enabled
get_efivar -t uint8 SecureBoot efi_secure_boot


if [ $efi_secure_boot = 1 ]; then
    # secure boot is enabled, boot our secure OS
elif
    # secure boot is disabled: enable it, boot insecure OS etc
fi


We would like to contribute it back because it seems useful for the community.
Feel free to change copyright information if needed.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 04 Sep 2015 12:14:00 GMT  Name: grub2.patch  Size: 5kB   By: ignat

<http://savannah.gnu.org/bugs/download.php?file_id=34813>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45876>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to