]> 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>
Thu, 12 Dec 2013 16:53:10 +0000 (16:53 +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.

(From OE-Core master rev: 7d2767d4e27c6d0eaa56f3e126df56e65a5364c9)

Signed-off-by: Hans Beckerus <hans.beckerus AT gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-core/initscripts/initscripts_1.0.bb

index c2998c3a0259de98982bbf24e543fdfdb6dbbdda..50ebb1cf97bfddda8245285dff68c97cf62ad0f8 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 .
 }