Skip to content

Add post-hook functionality when finalizing osmorphing#459

Merged
Dany9966 merged 1 commit into
cloudbase:masterfrom
fabi200123:add-post-hook-osmorphing
Jun 24, 2026
Merged

Add post-hook functionality when finalizing osmorphing#459
Dany9966 merged 1 commit into
cloudbase:masterfrom
fabi200123:add-post-hook-osmorphing

Conversation

@fabi200123

Copy link
Copy Markdown
Contributor

This PR updates the logic of execute grub update in osmorphing so that this is only ran in the post_package_install based on a flag configured via self._schedule_grub2_update().

Before, any grub related modification is followed by an update grub command (or grub-mkconfig). If there were multiple of them, we would basically run redundant updates and only make the osmorphing process take longer, as some of these processes can take up to minutes (especially when doing update-initramfs or dracut updates).

Comment thread coriolis/tests/osmorphing/test_base.py Outdated
Comment thread coriolis/tests/osmorphing/test_debian.py Outdated
@fabi200123 fabi200123 force-pushed the add-post-hook-osmorphing branch from 3169b24 to 9423801 Compare June 24, 2026 07:47
@Dany9966 Dany9966 merged commit 781aab1 into cloudbase:master Jun 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants