diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-03-06 09:03:11 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-08 11:46:45 -0800 |
commit | fca0a2c597ab40d55da768dac4088234b9b0d773 (patch) | |
tree | f18beaf0845e4e49a40fab418490b068baa5db21 /meta/recipes-extended/logrotate/logrotate_3.7.9.bb | |
parent | a9e7131b85e1787e6f76c64d77b2ac6684c8a9c9 (diff) | |
download | openembedded-core-contrib-fca0a2c597ab40d55da768dac4088234b9b0d773.tar.gz |
logrotate 3.7.9: Allow rotate log across filesystems
The logrotate can't save the log across the different filesystems since
it used the "rename(const char *oldpath, const char *newpath)" to save
the file, fix it to act as the "mv" command(first rename, if failed,
read and write) to allow save the log across the different filesystems.
* config.c: Remove the check for different filesystems
* logrotate.c: Act as the "mv" command when rotate log
* logrotate.8: Update the mannual
* logrotate.8: Fix a bug in the mannual(\f should be \fR)
[YOCTO #718]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/logrotate/logrotate_3.7.9.bb')
-rw-r--r-- | meta/recipes-extended/logrotate/logrotate_3.7.9.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.7.9.bb b/meta/recipes-extended/logrotate/logrotate_3.7.9.bb index 8dc0504cfb..40d1a38eab 100644 --- a/meta/recipes-extended/logrotate/logrotate_3.7.9.bb +++ b/meta/recipes-extended/logrotate/logrotate_3.7.9.bb @@ -2,13 +2,14 @@ DESCRIPTION = "Rotates, compresses, removes and mails system log files" SECTION = "console/utils" HOMEPAGE = "https://fedorahosted.org/releases/l/o/logrotate" LICENSE = "GPLv2" -PR = "r1" +PR = "r2" DEPENDS="coreutils popt" LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" -SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz" +SRC_URI = "https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz \ + file://allow-across-different-filesystems.patch" SRC_URI[md5sum] = "eeba9dbca62a9210236f4b83195e4ea5" SRC_URI[sha256sum] = "080caf904e70e04da16b8dfa95a5a787ec7d722ee1af18ccea437d3ffdd6fec0" |