aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dnf/dnf/0003-Do-not-prepend-installroot-to-logdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/dnf/dnf/0003-Do-not-prepend-installroot-to-logdir.patch')
-rw-r--r--meta/recipes-devtools/dnf/dnf/0003-Do-not-prepend-installroot-to-logdir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dnf/dnf/0003-Do-not-prepend-installroot-to-logdir.patch b/meta/recipes-devtools/dnf/dnf/0003-Do-not-prepend-installroot-to-logdir.patch
new file mode 100644
index 0000000000..2c4c844b3b
--- /dev/null
+++ b/meta/recipes-devtools/dnf/dnf/0003-Do-not-prepend-installroot-to-logdir.patch
@@ -0,0 +1,13 @@
+Index: dnf/dnf/cli/cli.py
+===================================================================
+--- dnf.orig/dnf/cli/cli.py
++++ dnf/dnf/cli/cli.py
+@@ -944,7 +944,7 @@ class Cli(object):
+ logger.warning(_("Unable to detect release version (use '--releasever' to specify "
+ "release version)"))
+
+- for opt in ('cachedir', 'logdir', 'persistdir'):
++ for opt in ('cachedir', 'persistdir'):
+ conf.prepend_installroot(opt)
+
+ self.base._logging._setup_from_dnf_conf(conf)