Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repartition: Update partitions in EFI load options
When the ESP partition ID is regenerated, any EFI load options referencing the old partition ID become invalid. While shim's fallback will generate a new load option on the next boot, a downstream patch is needed to make sure the invalid option is removed. Rather than having shim cleanup this situation, update the load options at the time the partition UUID is changed. Since both the old and new UUIDs are known, eos-update-efi-uuid can update only the affected load options without changing or deleting load options that aren't affected by the UUID change. Note that this runs eos-update-efi-uuid in verbose mode, which is pretty noisy. When we have confidence this is doing the right thing, we can drop the -v option. https://phabricator.endlessm.com/T31604
- Loading branch information