As part of my Flicker Free Boot work: https://fedoraproject.org/wiki/Changes/FlickerFreeBoot I've been working a new theme for offline-updates following: https://wiki.gnome.org/Design/OS/BootProgress I've just prepared a plymouth merge-request adding a separate mode to plymouth for offline system-upgrades, such as done by dnf-plugin-system-upgrade, to be able to differentiate these from the normal installing of (security) updates through offline-updates: https://gitlab.freedesktop.org/plymouth/plymouth/merge_requests/29 Currently python3-dnf-plugin-system-upgrade makes the following plymouth call to switch to plymouth to offline-updates mode: plymouth change-mode --updates This will make plymouth look like this: https://fedorapeople.org/~jwrdegoede/flickerfree-videos/installing.png This purpose of this bug is to change that call to: plymouth change-mode --system-upgrade But only in F30 and newer, where plymouth will actually understand --system-upgrade. This will make plymouth look like this when doing the system upgrade: https://fedorapeople.org/~jwrdegoede/flickerfree-videos/system-upgrade.png So that users can clearly see the difference between the 2 modes. Note plymouth in F30 currently does not yet support change-mode --system-upgrade I plan to land support for this soon (no later then March 4th). Beware that currently "plymouth change-mode --<mode>" will hang when called with a <mode> which it does not understand. This is fixed by the above merge-request, but that does not help for older plymouth versions. This will not be an issue for F30 since that will have a plymouth without that bug and which understands "plymouth change-mode --system-upgrade", but it is important that the change to use --system-upgrade is NOT made for F29. Note I can and probably will push a plymouth update to F29 to fix this, but there is no guarantee everyone will have that.
Note the plymouth changes for this have landed in upstream plymouth now.
I've just build: plymouth-0.9.4-4.fc30, this is the first plymouth build to support "plymouth change-mode --system-upgrade".
It is of course possible. But at first glance it is not obvious to me how to find out whether the version of the plymouth running on the system is capable to use --system-upgrade option. Or is a version of Fedora the only hint? I would like to rely on the plymouth version or something. (is there a command which returns plymouth version?)
(In reply to Marek Blaha from comment #3) > It is of course possible. But at first glance it is not obvious to me how to > find out whether the version of the plymouth running on the system is > capable to use --system-upgrade option. Or is a version of Fedora the only > hint? I would like to rely on the plymouth version or something. (is there a > command which returns plymouth version?) Unfortunately neither the plymouth daemon not the commandline utility has a --version. It seems the best way to detect support for the --system-upgrade option is using --help: [hans@shalem ~]$ plymouth --help | grep -- --system-upgrade --system-upgrade Upgrading the OS to a new version If you add -q to the grep command and pass the entirety to sh: sh -c "plymouth --help | grep -q -- --system-upgrade" Then you can simply check the return value of that command, if it is 0 then --system-upgrade is supported.
PR https://github.com/rpm-software-management/dnf-plugins-extras/pull/157
FEDORA-2019-daa0986c6d has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-daa0986c6d
dnf-plugins-extras-4.0.7-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-daa0986c6d
FEDORA-2019-e8db3bef68 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e8db3bef68
dnf-plugins-extras-4.0.7-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e8db3bef68
dnf-plugins-extras-4.0.7-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.