mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
arm-autonomy/init: Change execution order between modutils.sh and checkroot.sh
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. Change-Id: Idac9aa19fba6b6bf46532097a667ce0518af515c Issue-Id: SCM-1654 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
do_install_append() {
|
||||
# We want to have checkroot.sh running before modutils.sh (06)
|
||||
update-rc.d -r ${D} -f checkroot.sh remove
|
||||
update-rc.d -r ${D} checkroot.sh start 05 S .
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# We want to have modutils.sh running after checkroot.sh (05)
|
||||
INITSCRIPT_PARAMS = "start 06 S ."
|
||||
Reference in New Issue
Block a user