Patchwork [0/1] Allow rotate log across filesystems

login
register
mail settings
Submitter Robert Yang
Date March 5, 2012, 2:17 p.m.
Message ID <cover.1330956344.git.liezhi.yang@windriver.com>
Download mbox
Permalink /patch/22699/
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib robert/logrotate

Comments

Robert Yang - March 5, 2012, 2:17 p.m.
This patch is based on oe-core, and the pull request is on poky-contrib

The testing summary:
1) Add the olddir to logrotate.conf, and the olddir should have a
   different mount point of the current log directory.

2) Run "logrotate -f /path/to/logrotate.conf" to force rotate,
   the old log should be rotated to the olddir which is on another
   mount point.

//Robert

The following changes since commit a439d32dd843d10a9f65cc858b02422fac7deb50:

  soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE (2012-03-04 05:41:11 -0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib robert/logrotate
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/logrotate

Robert Yang (1):
  logrotate 3.7.9: Allow rotate log across filesystems

 .../allow-across-different-filesystems.patch       |  154 ++++++++++++++++++++
 meta/recipes-extended/logrotate/logrotate_3.7.9.bb |    5 +-
 2 files changed, 157 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-extended/logrotate/logrotate-3.7.9/allow-across-different-filesystems.patch
Saul Wold - March 12, 2012, 9:11 p.m.
On 03/05/2012 06:17 AM, Robert Yang wrote:
> This patch is based on oe-core, and the pull request is on poky-contrib
>
> The testing summary:
> 1) Add the olddir to logrotate.conf, and the olddir should have a
>     different mount point of the current log directory.
>
> 2) Run "logrotate -f /path/to/logrotate.conf" to force rotate,
>     the old log should be rotated to the olddir which is on another
>     mount point.
>
> //Robert
>
> The following changes since commit a439d32dd843d10a9f65cc858b02422fac7deb50:
>
>    soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE (2012-03-04 05:41:11 -0800)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib robert/logrotate
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/logrotate
>
> Robert Yang (1):
>    logrotate 3.7.9: Allow rotate log across filesystems
>
>   .../allow-across-different-filesystems.patch       |  154 ++++++++++++++++++++
>   meta/recipes-extended/logrotate/logrotate_3.7.9.bb |    5 +-
>   2 files changed, 157 insertions(+), 2 deletions(-)
>   create mode 100644 meta/recipes-extended/logrotate/logrotate-3.7.9/allow-across-different-filesystems.patch
>
Merged into OE-Core

Thanks
	Sau!