]> code.ossystems Code Review - openembedded-core.git/commitdiff
initscripts: add missing dmesg.sh to run-level S
authorHans Beckerus <hans.beckerus@gmail.com>
Fri, 15 Nov 2013 14:25:33 +0000 (15:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Nov 2013 14:03:03 +0000 (14:03 +0000)
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>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initscripts/initscripts_1.0.bb

index d46ba67b2a75589b90508a53ae15326335125992..5951e0c198a98e9bf2d98a92cb345a5428b2c72e 100644 (file)
@@ -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 .
 }