Blame SOURCES/0002-Revert-Fix-setopt-cachedir-writing-outside-of-installroot.patch

862ba9
From c2e4901cec947e5be2e5ff5afa22691841d00bdc Mon Sep 17 00:00:00 2001
862ba9
From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hr=C3=A1zk=C3=BD?= <lhrazky@redhat.com>
862ba9
Date: Tue, 10 Nov 2020 13:46:57 +0100
862ba9
Subject: [PATCH] Revert "Fix --setopt=cachedir writing outside of installroot"
862ba9
862ba9
This reverts commit 70fffff61f7a006d406b46adc592d21a685c12a8.
862ba9
862ba9
The commit breaks resetting excludes with an empty --exclude= CLI switch
862ba9
if the excludes were set in the config file.
862ba9
---
862ba9
 dnf/cli/cli.py | 2 ++
862ba9
 1 file changed, 2 insertions(+)
862ba9
862ba9
diff --git a/dnf/cli/cli.py b/dnf/cli/cli.py
862ba9
index b5f7bca07b..5878c2aa15 100644
862ba9
--- a/dnf/cli/cli.py
862ba9
+++ b/dnf/cli/cli.py
862ba9
@@ -974,6 +974,8 @@ def configure(self, args, option_parser=None):
862ba9
 
862ba9
         self.base.configure_plugins()
862ba9
 
862ba9
+        self.base.conf._configure_from_options(opts)
862ba9
+
862ba9
         self.command.configure()
862ba9
 
862ba9
         if self.base.conf.destdir: