grub2: Generate config from pending deployment
Generate a grub2 config using the pending deployment, if a grub2 bootloader is detected in the sysroot. Allows grub2-mkconfig to run if there are no previous deployments. Fixes: #1774 Closes: #1831 Approved by: jlebon
This commit is contained in:
1 parent
42573eae59
commit
d69214ade3
6 files changed
+23
-17
No files matched your search
@@ -2122,7 +2122,8 @@ write_deployments_bootswap (OstreeSysroot *self,
|
||||
if (bootloader)
|
||||
{
|
||||
if (!_ostree_bootloader_write_config (bootloader, new_bootversion,
|
||||
cancellable, error))
|
||||
new_deployments, cancellable,
|
||||
error))
|
||||
return glnx_prefix_error (error, "Bootloader write config");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user