]> 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)
committerRobert Yang <liezhi.yang@windriver.com>
Wed, 11 Dec 2013 02:12:18 +0000 (21:12 -0500)
commite54864e6db9fddb8ec98e323fe6da88e02ff070a
tree5f019791100b29c7476c8ba9143abf1a6876ec62
parent252896140bb107315e58bbd82b9a73528da9b860
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.

(From OE-Core master rev: 13c9bc143f6861517970dafdc7e7a45740d0933d)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-core/initscripts/initscripts_1.0.bb