mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
logrotate: update to 3.14.0
Since the wtmp and btmp definitions had been moved from logrotate.conf to logrotate.d in this release, we also need to install them to /etc/logrotate.d/. Also update oeqa runtime logrotate test case. (From OE-Core rev: 5b4aedd6b18b6ba6ca1bcd460a0b51ced41656cd) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -21,9 +21,9 @@ class LogrotateTest(OERuntimeTestCase):
|
||||
self.assertEqual(status, 0, msg = msg)
|
||||
|
||||
cmd = ('sed -i "s#wtmp {#wtmp {\\n olddir $HOME/logrotate_dir#"'
|
||||
' /etc/logrotate.conf')
|
||||
' /etc/logrotate.d/wtmp')
|
||||
status, output = self.target.run(cmd)
|
||||
msg = ('Could not write to logrotate.conf file. Status and output: '
|
||||
msg = ('Could not write to logrotate.d/wtmp file. Status and output: '
|
||||
' %s and %s' % (status, output))
|
||||
self.assertEqual(status, 0, msg = msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user