1From 6365389074a1b86962f3d8b22a2ead2202026a98 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 11 Jan 2017 15:10:13 +0200
4Subject: [PATCH 5/5] Do not prepend installroot to logdir.
5
6This would otherwise write the logs into rootfs/var/log
7(whereas we want them in $T),
8and will break installation of base-files rpm.
9
10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12---
13 dnf/cli/cli.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/dnf/cli/cli.py b/dnf/cli/cli.py
17index d2d9c082..82270ecf 100644
18--- a/dnf/cli/cli.py
19+++ b/dnf/cli/cli.py
20@@ -920,7 +920,7 @@ class Cli(object):
21             logger.warning(_("Unable to detect release version (use '--releasever' to specify "
22                              "release version)"))
23
24-        for opt in ('cachedir', 'logdir', 'persistdir'):
25+        for opt in ('cachedir', 'persistdir'):
26             conf.prepend_installroot(opt)
27
28         self.base._logging._setup_from_dnf_conf(conf)
29--
302.14.2
31
32