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