Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Nov 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 initscripts: add missing dmesg.sh to run-level S

From: Hans Beckerus <[email protected]>

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(-)
meta/recipes-core/initscripts/initscripts_1.0.bb +3 -1
index 2d58266..4bcc4ec 100644
@@ -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 .
 }
Signature · 1 line
1.8.4