Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed in this pull request:
plymouth_msgto kiwi-repartThis is mostly a minimal proof of concept; it can be merged as is but I expect you might want to move
plymouth_msgto the library and then use it in other places too.The core idea is that I noticed on large disks the first-boot repartitioning could take long enough that people might wonder what's going on, especially on systems running plymouth. This adds a simple message that displays on plymouth to let people know what it's doing (and implicitly that subsequent boots should be faster).
One caveat is that at least on current versions of OpenSUSE (tested in 15.6 but at time of writing it hasn't been fixed in later versions) there's a bug in
plymouth-dracutwhich means thatlabel-pango.sois not installed to the initrd and thus no text will display. This can either be fixed by patching/usr/lib/plymouth/plymouth-populate-initrdto installlabel-pango.soinstead oflabel.so, or by adding an equivalent entry to any dracut module, e.g.install_optional_items+=" /usr/lib64/plymouth/label-pango.so ".