Bug 1681584
| Summary: | RFE: Use "plymouth change-mode --system-upgrade" on systems upgrades | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hans de Goede <hdegoede> |
| Component: | dnf-plugins-extras | Assignee: | Marek Blaha <mblaha> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dmach, jkadlcik, jmracek, mblaha, pkratoch, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-plugins-extras-4.0.7-2.fc30 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-25 17:01:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Hans de Goede
2019-02-25 17:05:08 UTC
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. FEDORA-2019-daa0986c6d has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-daa0986c6d 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. |