rancher / elemental-toolkit

:snowflake: The toolkit to build, ship and maintain cloud-init driven Linux derivatives based on container images
https://rancher.github.io/elemental-toolkit/docs/
Apache License 2.0
288 stars 49 forks source link

Disable boot entry if efivars is read-only #2059

Closed frelon closed 3 months ago

frelon commented 3 months ago

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.