summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDavid Vincent <freesilicon@gmail.com>2017-07-10 12:45:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-21 22:51:37 +0100
commit225b8094568f70937a8fdbf0502270621c2ad251 (patch)
treebf2ffc8ce23a62445130aea35d5ce8224c5cb1c4 /meta
parent97c3a88082e5e5ede20c2ed8657c3b53ef5335e7 (diff)
downloadpoky-225b8094568f70937a8fdbf0502270621c2ad251.tar.gz
initscripts: start bootmisc.sh at 36 instead of 55
bootmisc.sh is responsible for setting the system date to a sane default. Currently, it is the last script to be run from the rcS runlevel. Problem is that the files created before appear to have been created on 1/1/1970. Most notably, /var/log/dmesg created in dmesg.sh cannot be properly rotated with logrotate which does not consider it a valid date and stops processing. There is no blocker on moving this script right before populating volatiles because it just requires the local and virtual filesystems to be mounted to work. (From OE-Core rev: a0f6508847a28a78cb0a1e9613b6e5cc3047d995) Signed-off-by: David Vincent <freesilicon@gmail.com> Signed-off-by: Ross Burton <ross.burton@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.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 2e4f7e4669..a65f1b24a5 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -134,7 +134,7 @@ do_install () {
134 update-rc.d -r ${D} mountall.sh start 03 S . 134 update-rc.d -r ${D} mountall.sh start 03 S .
135 update-rc.d -r ${D} hostname.sh start 39 S . 135 update-rc.d -r ${D} hostname.sh start 39 S .
136 update-rc.d -r ${D} mountnfs.sh start 15 2 3 4 5 . 136 update-rc.d -r ${D} mountnfs.sh start 15 2 3 4 5 .
137 update-rc.d -r ${D} bootmisc.sh start 55 S . 137 update-rc.d -r ${D} bootmisc.sh start 36 S .
138 update-rc.d -r ${D} sysfs.sh start 02 S . 138 update-rc.d -r ${D} sysfs.sh start 02 S .
139 update-rc.d -r ${D} populate-volatile.sh start 37 S . 139 update-rc.d -r ${D} populate-volatile.sh start 37 S .
140 update-rc.d -r ${D} read-only-rootfs-hook.sh start 29 S . 140 update-rc.d -r ${D} read-only-rootfs-hook.sh start 29 S .