bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #45876] efi: add a command to read efi variables from shell and con


From: Ignat Korchagin
Subject: [bug #45876] efi: add a command to read efi variables from shell and configuration files
Date: Fri, 04 Sep 2015 12:14:01 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

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: address@hidden
             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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]