[gnome-software] rpm-ostree: Refine packages based on the default deployment
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] rpm-ostree: Refine packages based on the default deployment
- Date: Sat, 23 Feb 2019 19:54:40 +0000 (UTC)
commit f37280da0537cdc36db706beb9ff4235a6dba3b4
Author: Kalev Lember <klember redhat com>
Date: Sat Feb 23 20:20:14 2019 +0100
rpm-ostree: Refine packages based on the default deployment
... instead of the booted deployment. This ensures that we correctly
pick up the installed state in e.g. category views before rebooting into
the new installation.
plugins/rpm-ostree/gs-plugin-rpm-ostree.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
index f1d6a90c..52d78607 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -1140,7 +1140,7 @@ gs_plugin_refine (GsPlugin *plugin,
GsPluginData *priv = gs_plugin_get_data (plugin);
g_autoptr(GMutexLocker) locker = NULL;
g_autoptr(GPtrArray) pkglist = NULL;
- g_autoptr(GVariant) booted_deployment = NULL;
+ g_autoptr(GVariant) default_deployment = NULL;
g_auto(GStrv) layered_packages = NULL;
g_autofree gchar *checksum = NULL;
@@ -1152,11 +1152,11 @@ gs_plugin_refine (GsPlugin *plugin,
return FALSE;
}
- booted_deployment = gs_rpmostree_os_dup_booted_deployment (priv->os_proxy);
- g_assert (g_variant_lookup (booted_deployment,
+ default_deployment = gs_rpmostree_os_dup_default_deployment (priv->os_proxy);
+ g_assert (g_variant_lookup (default_deployment,
"packages", "^as",
&layered_packages));
- g_assert (g_variant_lookup (booted_deployment,
+ g_assert (g_variant_lookup (default_deployment,
"checksum", "s",
&checksum));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]