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

[backport] Disable boot entry if efivars is read-only (#2059) #2145

Merged
merged 2 commits into from
Jul 29, 2024

Commits on Jul 29, 2024

  1. Disable boot entry if efivars is read-only (rancher#2059)

    On some systems the efivars is mounted read-only if the firmware does
    not support writing (such as RPI).
    
    This commit turns off writing boot entries to efivars if the efivars
    filesystem is mounted read-only.
    
    Signed-off-by: Fredrik Lönnegren <[email protected]>
    (cherry picked from commit 8baaef2)
    frelon authored and davidcassany committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    e448982 View commit details
    Browse the repository at this point in the history
  2. Add test for auto disabled boot entry in Grub

    Signed-off-by: David Cassany <[email protected]>
    (cherry picked from commit 76caad5)
    davidcassany committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    c6fd7ab View commit details
    Browse the repository at this point in the history