From: Hans Beckerus <hans.becke...@gmail.com>

In commit faa8cc6c2a582a32c695f3f2b0d45b6892c769fd dmesg.sh was
added to the set of init.d scripts. But the script was never put
in any run-level. This patch will add dmesg.sh to run-level S.

Signed-off-by: Hans Beckerus <hans.beckerus AT gmail.com>
---
 meta/recipes-core/initscripts/initscripts_1.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb 
b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 2d58266..4bcc4ec 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -126,5 +126,7 @@ do_install () {
        if [ "${TARGET_ARCH}" = "arm" ]; then
                update-rc.d -r ${D} alignment.sh start 06 S .
        fi
-
+       # We wish to have /var/log ready at this stage so execute this after
+       # populate-volatile.sh
+       update-rc.d -r ${D} dmesg.sh start 38 S .
 }
-- 
1.8.4

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to