summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initscripts
diff options
context:
space:
mode:
authorDiego Sueiro <diego.sueiro@arm.com>2020-12-03 11:18:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-06 23:17:28 +0000
commite8d24de4a1f5abcf9aa4d0bcd9342ab27d9a6b0b (patch)
treea32cac6ae50cf08e5bbeae3e34e2b1692c4cc804 /meta/recipes-core/initscripts
parentf01675db346b5758f583231e3ceb0675fbccfb13 (diff)
downloadpoky-e8d24de4a1f5abcf9aa4d0bcd9342ab27d9a6b0b.tar.gz
initscripts: Change execution order between checkroot and modutils
When '/' is first mounted as read-only, we want to have the checkroot.sh initscript (which then remounts '/' as rw if allowed) running before the modutils.sh. This is because modutils.sh initscript might need to run depmod depending on the status of the modules.dep file to update it and the '/' needs to be writable. (From OE-Core rev: 39f16d7dc42dcfe4a3fcceb8e476ac3c1e0ba3a2) Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initscripts')
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb2
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 32c527799e..5e994f2b7f 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -136,7 +136,7 @@ do_install () {
136 update-rc.d -r ${D} halt start 90 0 . 136 update-rc.d -r ${D} halt start 90 0 .
137 update-rc.d -r ${D} save-rtc.sh start 25 0 6 . 137 update-rc.d -r ${D} save-rtc.sh start 25 0 6 .
138 update-rc.d -r ${D} banner.sh start 02 S . 138 update-rc.d -r ${D} banner.sh start 02 S .
139 update-rc.d -r ${D} checkroot.sh start 06 S . 139 update-rc.d -r ${D} checkroot.sh start 05 S .
140 update-rc.d -r ${D} mountall.sh start 03 S . 140 update-rc.d -r ${D} mountall.sh start 03 S .
141 update-rc.d -r ${D} hostname.sh start 39 S . 141 update-rc.d -r ${D} hostname.sh start 39 S .
142 update-rc.d -r ${D} mountnfs.sh start 15 2 3 4 5 . 142 update-rc.d -r ${D} mountnfs.sh start 15 2 3 4 5 .