summaryrefslogtreecommitdiff
path: root/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch
diff options
context:
space:
mode:
authormykola.salomatin <mykola.salomatin@globallogic.com>2021-02-17 12:58:24 +0200
committerJohn Klug <john.klug@multitech.com>2021-02-17 09:06:10 -0600
commitdb4758a1fff1ae0c28f95a04c6f3f2866b47558c (patch)
tree254b6127d6f251f096bf07bbcf1489e4639ef827 /recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch
parentd6799f3aa2eb67ca35883956fdd415b09f834a45 (diff)
downloadmeta-mlinux-db4758a1fff1ae0c28f95a04c6f3f2866b47558c.tar.gz
meta-mlinux-db4758a1fff1ae0c28f95a04c6f3f2866b47558c.tar.bz2
meta-mlinux-db4758a1fff1ae0c28f95a04c6f3f2866b47558c.zip
[MTX-3853] Update logrotate to v3.15.1 from openembedded-core
Diffstat (limited to 'recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch')
-rw-r--r--recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch b/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch
deleted file mode 100644
index 793d702..0000000
--- a/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Disable the check for different filesystems
-
-The logrotate supports rotate log across different filesystems now, so
-disable the check for different filesystems.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
----
- config.c | 9 ---------
- 1 file changed, 9 deletions(-)
-
-diff --git a/config.c b/config.c
-index dbbf563..64e66f6 100644
---- a/config.c
-+++ b/config.c
-@@ -1493,15 +1493,6 @@ static int readConfigFile(const char *configFile, struct logInfo *defConfig)
- goto error;
- }
- }
--
-- if (sb.st_dev != sb2.st_dev
-- && !(newlog->flags & (LOG_FLAG_COPYTRUNCATE | LOG_FLAG_COPY | LOG_FLAG_TMPFILENAME))) {
-- message(MESS_ERROR,
-- "%s:%d olddir %s and log file %s "
-- "are on different devices\n", configFile,
-- lineNum, newlog->oldDir, newlog->files[i]);
-- goto error;
-- }
- }
- }
-