From 086f4b4bf3ce478a9a1cb009f56a7c08d1aa6e57 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 11 Oct 2018 19:12:01 -0700 Subject: [PATCH] Ensure generic-updates plugin runs after packagekit-refine 9eab01082b07acd525b8a390ab6b43136cf400a5 made generic-updates check the 'scope' and 'kind' for a package update before adding it to the generic 'OS Updates' "app" which is used to display updates for packages that aren't appdata-ified. The 'scope' and 'kind' for package updates are set by packagekit-refine...but that change did not ensure that generic-updates runs *after* packagekit-refine. This can result in gnome-software failing to 'see' these generic updates on a first update scan, and only picking them up on a retry. To fix this, we should ensure that packagekit-refine runs before generic-updates. https://bugzilla.redhat.com/show_bug.cgi?id=1638563 Signed-off-by: Adam Williamson --- plugins/core/gs-plugin-generic-updates.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/core/gs-plugin-generic-updates.c b/plugins/core/gs-plugin-generic-updates.c index d8e2db39..ef79c65b 100644 --- a/plugins/core/gs-plugin-generic-updates.c +++ b/plugins/core/gs-plugin-generic-updates.c @@ -28,6 +28,7 @@ void gs_plugin_initialize (GsPlugin *plugin) { gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "appstream"); + gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "packagekit-refine"); } static gboolean -- 2.18.1