-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate-static-grub-config: Add GRUB static migration subcommand
Add a hidden subcommand that migrates existing systems using a dynamic GRUB config to a static one. This command is expected to be run after a successful bootloader update. One way to do that is to add it as a droppin unit config for the `bootloader-update.service` unit included in this repo: ``` $ cat /usr/lib/systremd/system/bootloader-update.service.d/migrate-static-grub-config.conf [Service] ExecStart=/usr/bin/bootupctl migrate-static-grub-config ``` This will be used on Atomic Desktops & IoT systems to migrate systems to a static GRUB config before enabling composefs as GRUB curently does not interact well with it [1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=2308594 See: https://gitlab.com/fedora/ostree/sig/-/issues/35 See: https://pagure.io/workstation-ostree-config/pull-request/591 See: https://fedoraproject.org/wiki/Changes/ComposefsAtomicDesktops Fixes: #789
- Loading branch information
Showing
2 changed files
with
164 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters