mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 17:25:46 +00:00
This reverts commit 0a69248db774f169318fc5954c805f0a7e8803dc. The update causes QA failures on the autobuilder. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
892 B
Diff
35 lines
892 B
Diff
Disable the check for different filesystems
|
|
|
|
The logrotate supports rotate log across different filesystems now, so
|
|
disable the check for different filesystems.
|
|
|
|
Upstream-Status: Submitted
|
|
|
|
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 e0eadb7..c23092f 100644
|
|
--- a/config.c
|
|
+++ b/config.c
|
|
@@ -1515,15 +1515,6 @@ static int readConfigFile(const char *configFile, struct logInfo *defConfig)
|
|
dirName, strerror(errno));
|
|
goto error;
|
|
}
|
|
-
|
|
- if (sb.st_dev != sb2.st_dev
|
|
- && !(newlog->flags & (LOG_FLAG_COPYTRUNCATE | LOG_FLAG_COPY))) {
|
|
- 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;
|
|
- }
|
|
}
|
|
}
|
|
|
|
--
|
|
1.7.9.5
|