[oe-commits] [openembedded-core] 18/40: initscripts: start bootmisc.sh at 36 instead of 55

git at git.openembedded.org git at git.openembedded.org
Fri Jul 21 11:38:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e76636db16907d70545dad2ff1ce2c82213a8c97
Author: David Vincent <freesilicon at gmail.com>
AuthorDate: Mon Jul 10 12:45:33 2017 +0200

    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 at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.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 2e4f7e4..a65f1b2 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 () {
 	update-rc.d -r ${D} mountall.sh start 03 S .
 	update-rc.d -r ${D} hostname.sh start 39 S .
 	update-rc.d -r ${D} mountnfs.sh start 15 2 3 4 5 .
-	update-rc.d -r ${D} bootmisc.sh start 55 S .
+	update-rc.d -r ${D} bootmisc.sh start 36 S .
 	update-rc.d -r ${D} sysfs.sh start 02 S .
 	update-rc.d -r ${D} populate-volatile.sh start 37 S .
 	update-rc.d -r ${D} read-only-rootfs-hook.sh start 29 S .

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list