filbranden / rpms / dnf

Forked from rpms/dnf 4 years ago
Clone

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

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