[gnome-software/wip/kalev/rpm-ostree-distro-upgrade-fixes: 2/2] rpm-ostree: Hook up distro upgrade triggering
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/rpm-ostree-distro-upgrade-fixes: 2/2] rpm-ostree: Hook up distro upgrade triggering
- Date: Thu, 9 Jan 2020 13:59:26 +0000 (UTC)
commit 1cc35e8e9f7a9f7cc94d5e040b01fa0699a92831
Author: Kalev Lember <klember redhat com>
Date: Thu Jan 9 14:54:18 2020 +0100
rpm-ostree: Hook up distro upgrade triggering
We were correctly downloading distro upgrades, but never deploying the
new version.
Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/857
plugins/rpm-ostree/gs-plugin-rpm-ostree.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
index 8e8da6f7..18923043 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -928,6 +928,15 @@ gs_plugin_update_app (GsPlugin *plugin,
return TRUE;
}
+gboolean
+gs_plugin_app_upgrade_trigger (GsPlugin *plugin,
+ GsApp *app,
+ GCancellable *cancellable,
+ GError **error)
+{
+ return trigger_rpmostree_update (plugin, app, cancellable, error);
+}
+
static gboolean
gs_plugin_repo_enable (GsPlugin *plugin,
GsApp *app,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]