89a8dcc9e8
We should create the /var/log/dmesg.log file as a default. If we don't then a later kernel error can flush the dmesg ring buffer, losing valuable debug information. (From OE-Core rev: faa8cc6c2a582a32c695f3f2b0d45b6892c769fd) Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 lines
121 B
Text
10 lines
121 B
Text
# see "man logrotate" for details
|
|
# rotate dmesg, and keep 5 versions.
|
|
|
|
/var/log/dmesg {
|
|
create
|
|
rotate 5
|
|
nodateext
|
|
}
|
|
|