]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: add dmesg file to /var/log
authorJackie Huang <jackie.huang@windriver.com>
Thu, 4 Jul 2013 10:06:21 +0000 (18:06 +0800)
committerSaul Wold <sgw@linux.intel.com>
Tue, 9 Jul 2013 14:56:14 +0000 (07:56 -0700)
commitfaa8cc6c2a582a32c695f3f2b0d45b6892c769fd
treeac7430a713d7022ac3ecc10b3e1df9c44daff668
parent09e59f1dad9fb52adb1717840837e42a36a6c7a1
initscripts: add dmesg file to /var/log

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.

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>
meta/recipes-core/initscripts/initscripts-1.0/dmesg.sh [new file with mode: 0644]
meta/recipes-core/initscripts/initscripts-1.0/logrotate-dmesg.conf [new file with mode: 0644]
meta/recipes-core/initscripts/initscripts_1.0.bb