diff options
author | Jeffrey C Honig <jeffrey.honig@windriver.com> | 2013-10-12 13:30:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-18 15:49:56 +0100 |
commit | acd1d3079f1f3318bfd74fe93bb24a9e7d772035 (patch) | |
tree | 3cf8aa5cc3c831603e1c7462cf1c191019f988ec /meta | |
parent | 8bfa6d96e77b1c9b39755df72ce834fb57534963 (diff) | |
download | poky-acd1d3079f1f3318bfd74fe93bb24a9e7d772035.tar.gz |
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 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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/initscripts/initscripts_1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 5b5085fc00..c2998c3a02 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb | |||
@@ -114,7 +114,7 @@ do_install () { | |||
114 | update-rc.d -r ${D} halt start 90 0 . | 114 | update-rc.d -r ${D} halt start 90 0 . |
115 | update-rc.d -r ${D} save-rtc.sh start 25 0 6 . | 115 | update-rc.d -r ${D} save-rtc.sh start 25 0 6 . |
116 | update-rc.d -r ${D} banner.sh start 02 S . | 116 | update-rc.d -r ${D} banner.sh start 02 S . |
117 | update-rc.d -r ${D} checkroot.sh start 10 S . | 117 | update-rc.d -r ${D} checkroot.sh start 06 S . |
118 | update-rc.d -r ${D} mountall.sh start 35 S . | 118 | update-rc.d -r ${D} mountall.sh start 35 S . |
119 | update-rc.d -r ${D} hostname.sh start 39 S . | 119 | update-rc.d -r ${D} hostname.sh start 39 S . |
120 | update-rc.d -r ${D} mountnfs.sh start 45 S . | 120 | update-rc.d -r ${D} mountnfs.sh start 45 S . |