Closed olivercalder closed 1 year ago
This PR is very simplistic, and it's likely #55 and #56 should be revived in its place.
Please review https://github.com/snapcore/pc-gadget/pull/106 instead. Future changes to snapcore:24 will likely be backported from, or at least more similar to, the changes proposed in #106.
This is part of ongoing work to explicitly set EFI boot variables on install of Ubuntu Core, thus ceasing to rely solely on default boot EFI behavior, which can be complicated by circumstances such as attached external media.
See the following for associated work to support this change on the snapd side by setting EFI boot variables (WIP): https://github.com/snapcore/snapd/pull/13025/files
Also, there was previous work to support more complete EFI artifacts from both pc-gadget and snapd:
And for those internal to Canonical, here is the specification for this project: https://docs.google.com/document/d/1s-XJ56Ur6mQdJ3gVtWdJs12odgknM_2nqQ72RzWUDho
Once this is merged into core24, the plan is to backport similar changes to core 22, core20, etc.