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) (From OE-Core rev: e54864e6db9fddb8ec98e323fe6da88e02ff070a) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7612323dba
commit
404e0cfafd
|
@ -114,7 +114,7 @@ do_install () {
|
|||
update-rc.d -r ${D} halt start 90 0 .
|
||||
update-rc.d -r ${D} save-rtc.sh start 25 0 6 .
|
||||
update-rc.d -r ${D} banner.sh start 02 S .
|
||||
update-rc.d -r ${D} checkroot.sh start 10 S .
|
||||
update-rc.d -r ${D} checkroot.sh start 06 S .
|
||||
update-rc.d -r ${D} mountall.sh start 35 S .
|
||||
update-rc.d -r ${D} hostname.sh start 39 S .
|
||||
update-rc.d -r ${D} mountnfs.sh start 45 S .
|
||||
|
|
Loading…
Reference in New Issue