]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: insure checkroot.sh runs before anything writing to the file
authorJeffrey C Honig <jeffrey.honig@windriver.com>
Sat, 12 Oct 2013 05:30:29 +0000 (13:30 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Oct 2013 14:47:11 +0000 (15:47 +0100)
commit13c9bc143f6861517970dafdc7e7a45740d0933d
tree8e4746b1ec10afa14ddff796e689a0d1f756b7ea
parentf36fd55e8721559dee2e9b57930cd3962958ba9e
initscripts: insure checkroot.sh runs before anything writing to the file

If bootlogd was configured to write to a log file on the root file system,
the checkroot.sh was not able to change the rootfs to read-only because
bootlogd was started earlier and had a file descriptor open.  Lowering
the order of checkroot.sh ensures that the volatile filesystem is set
up before anything writes to it.

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initscripts/initscripts_1.0.bb