filbranden / rpms / dnf

Forked from rpms/dnf 4 years ago
Clone

Blame SOURCES/0008-system-and-cmdline-repos-hotfixes.patch

66d091
commit 805859f4a75d5d8118d9a307ee296efe1d9cff2f
66d091
Author: Jaroslav Mracek <jmracek@redhat.com>
66d091
Date:   Mon Sep 24 14:31:26 2018 +0200
66d091
66d091
    Exclude system and commandline pkg from filtering (RhBug:1630226)
66d091
    
66d091
    https://bugzilla.redhat.com/show_bug.cgi?id=1630226
66d091
66d091
diff --git a/dnf/base.py b/dnf/base.py
66d091
index 1c41af7a..34ea864e 100644
66d091
--- a/dnf/base.py
66d091
+++ b/dnf/base.py
66d091
@@ -294,6 +294,8 @@ class Base(object):
66d091
 
66d091
         # collect all hotfix repo repoids - we don't filter them at all
66d091
         hotfix_repos = [i.id for i in self.repos.iter_enabled() if i.hotfixes]
66d091
+        hotfix_repos.append(hawkey.SYSTEM_REPO_NAME)
66d091
+        hotfix_repos.append(hawkey.CMDLINE_REPO_NAME)
66d091
 
66d091
         # collect all RPM $names for bare RPMs filtering
66d091
         names = {hawkey.split_nevra(i).name for i in include_nevras_set}