Skip to content

gs-updates-page: Ensure correct section is used for minor OS updates

Image based OS updates, which need a restart to be applied, should always be labelled as needing a restart.

While that would happen OK if gnome-software added them to the updates page when eos-updater is polling or ready, if they were added to the page when already being fetched (or in subsequent states of eos-updater), the GsApp for the update would be in the GS_APP_STATE_INSTALLING state, and this would trigger the updates page to add the update to the wrong section.

Fix that by always putting OS updates which need a reboot into the OFFLINE section.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #2028 (closed), #2038 (closed)

Closes #2028 (closed), #2038 (closed)

Edited by Philip Withnall

Merge request reports