[gnome-software] Installed rpm-ostree packages cannot be removed 'live'



commit ef51b6ec44419f4b0cdba85baac0dea13f205c73
Author: Richard Hughes <richard hughsie com>
Date:   Mon Mar 28 15:30:00 2016 +0100

    Installed rpm-ostree packages cannot be removed 'live'

 src/plugins/gs-plugin-rpm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-rpm.c b/src/plugins/gs-plugin-rpm.c
index eb5a72b..037f23a 100644
--- a/src/plugins/gs-plugin-rpm.c
+++ b/src/plugins/gs-plugin-rpm.c
@@ -120,6 +120,9 @@ gs_plugin_refine_app (GsPlugin *plugin,
                return TRUE;
        }
 
+       /* on rpm-ostree this package cannot be removed 'live' */
+       gs_app_add_quirk (app, AS_APP_QUIRK_COMPULSORY);
+
        /* process any results */
        g_debug ("rpm: querying for %s with %s", gs_app_get_id (app), fn);
        while ((h = rpmdbNextIterator (mi)) != NULL) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]