summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch')
-rw-r--r--meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch b/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch
index 21b50dee01..eb0309d81a 100644
--- a/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch
+++ b/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch
@@ -1,4 +1,4 @@
1From 5e07c16a506b19cbb107d5e99fca41d679b23b9a Mon Sep 17 00:00:00 2001 1From 3bd0faf58cc9ad531e6b63d5660c4b8316e8daed Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 28 Apr 2020 15:55:00 +0200 3Date: Tue, 28 Apr 2020 15:55:00 +0200
4Subject: [PATCH] dnf: write the log lock to root 4Subject: [PATCH] dnf: write the log lock to root
@@ -10,15 +10,16 @@ already existing, and base-files creating it as a symlink).
10 10
11Upstream-Status: Inappropriate [oe-core specific] 11Upstream-Status: Inappropriate [oe-core specific]
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13
13--- 14---
14 dnf/logging.py | 2 +- 15 dnf/logging.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
16 17
17diff --git a/dnf/logging.py b/dnf/logging.py 18diff --git a/dnf/logging.py b/dnf/logging.py
18index bd660470..a9d808b1 100644 19index ef0b25f3..94610af6 100644
19--- a/dnf/logging.py 20--- a/dnf/logging.py
20+++ b/dnf/logging.py 21+++ b/dnf/logging.py
21@@ -94,7 +94,7 @@ class MultiprocessRotatingFileHandler(logging.handlers.RotatingFileHandler): 22@@ -118,7 +118,7 @@ class MultiprocessRotatingFileHandler(logging.handlers.RotatingFileHandler):
22 def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=False): 23 def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=False):
23 super(MultiprocessRotatingFileHandler, self).__init__( 24 super(MultiprocessRotatingFileHandler, self).__init__(
24 filename, mode, maxBytes, backupCount, encoding, delay) 25 filename, mode, maxBytes, backupCount, encoding, delay)