Patchwork initscripts: add missing dmesg.sh to run-level S

login
register
mail settings
Submitter Hans Beckérus
Date Nov. 15, 2013, 2:25 p.m.
Message ID <1384525538-2163-1-git-send-email-hans.beckerus@gmail.com>
Download mbox | patch
Permalink /patch/61787/
State New
Headers show

Comments

Hans Beckérus - Nov. 15, 2013, 2:25 p.m.
From: Hans Beckerus <hans.beckerus@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(-)

Patch

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 .
 }