* [PATCH 0/1] initscripts: insure checkroot.sh runs before anything writing to the file
@ 2013-10-12 5:30 Qi.Chen
2013-10-12 5:30 ` [PATCH 1/1] " Qi.Chen
0 siblings, 1 reply; 2+ messages in thread
From: Qi.Chen @ 2013-10-12 5:30 UTC (permalink / raw)
To: openembedded-core
From: Chen Qi <Qi.Chen@windriver.com>
The following changes since commit 5445f71fc812a5fcf9bd67a26a500284af16ad39:
bitbake: hob: change tooltip for live images (2013-10-07 16:25:02 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/checkroot.sh
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/checkroot.sh
Jeffrey C Honig (1):
initscripts: insure checkroot.sh runs before anything writing to the
file
meta/recipes-core/initscripts/initscripts_1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH 1/1] initscripts: insure checkroot.sh runs before anything writing to the file
2013-10-12 5:30 [PATCH 0/1] initscripts: insure checkroot.sh runs before anything writing to the file Qi.Chen
@ 2013-10-12 5:30 ` Qi.Chen
0 siblings, 0 replies; 2+ messages in thread
From: Qi.Chen @ 2013-10-12 5:30 UTC (permalink / raw)
To: openembedded-core
From: Jeffrey C Honig <jeffrey.honig@windriver.com>
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>
---
meta/recipes-core/initscripts/initscripts_1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 5b5085f..c2998c3 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 () {
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 .
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-12 5:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-12 5:30 [PATCH 0/1] initscripts: insure checkroot.sh runs before anything writing to the file Qi.Chen
2013-10-12 5:30 ` [PATCH 1/1] " Qi.Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox