diff options
Diffstat (limited to 'meta/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch')
-rw-r--r-- | meta/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch b/meta/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch deleted file mode 100644 index d7f9a02cc8..0000000000 --- a/meta/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 16c1833ade4c036b30b8761d2c4a5bd85cc65c44 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Tue, 8 Jan 2019 06:27:06 +0000 | ||
4 | Subject: [PATCH] Disable the check for different filesystems | ||
5 | |||
6 | The logrotate supports rotate log across different filesystems now, so | ||
7 | disable the check for different filesystems. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
12 | |||
13 | --- | ||
14 | config.c | 9 --------- | ||
15 | 1 file changed, 9 deletions(-) | ||
16 | |||
17 | diff --git a/config.c b/config.c | ||
18 | index d2488f1..1de3745 100644 | ||
19 | --- a/config.c | ||
20 | +++ b/config.c | ||
21 | @@ -1902,15 +1902,6 @@ duperror: | ||
22 | } | ||
23 | |||
24 | free(ld); | ||
25 | - | ||
26 | - if (sb.st_dev != sb2.st_dev | ||
27 | - && !(newlog->flags & (LOG_FLAG_COPYTRUNCATE | LOG_FLAG_COPY | LOG_FLAG_TMPFILENAME))) { | ||
28 | - message(MESS_ERROR, | ||
29 | - "%s:%d olddir %s and log file %s " | ||
30 | - "are on different devices\n", configFile, | ||
31 | - lineNum, newlog->oldDir, newlog->files[j]); | ||
32 | - goto error; | ||
33 | - } | ||
34 | } | ||
35 | } | ||
36 | |||