]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: start bootmisc.sh at 36 instead of 55
authorDavid Vincent <freesilicon@gmail.com>
Mon, 10 Jul 2017 10:45:33 +0000 (12:45 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jul 2017 21:45:19 +0000 (22:45 +0100)
commita0f6508847a28a78cb0a1e9613b6e5cc3047d995
tree182a757e451be1c1c737d51b6dcf6d92b26a8fe9
parentb942d0b17cb6622b653283109307346dcfb4f205
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.

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/initscripts/initscripts_1.0.bb