From 57e85e5c37cd035bc0a0545eca0c9ce08a9c003e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 31 Mar 2014 23:00:24 +0200 Subject: [PATCH] initscript: Make sure that the alignment script is ran by systemd systemd does not look at links in rcS.d. Make sure that the script is available in runlevel 2 as well so it will be used by systemd. --- meta/recipes-core/initscripts/initscripts_1.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 50ebb1cf97..ac28476e5b 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb @@ -3,7 +3,7 @@ DESCRIPTION = "Initscripts provide the basic system startup initialization scrip SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -PR = "r141" +PR = "r142" INHIBIT_DEFAULT_DEPS = "1" @@ -125,6 +125,7 @@ do_install () { update-rc.d -r ${D} devpts.sh start 38 S . if [ "${TARGET_ARCH}" = "arm" ]; then update-rc.d -r ${D} alignment.sh start 06 S . + update-rc.d -r ${D} alignment.sh start 06 S 2 . fi # We wish to have /var/log ready at this stage so execute this after # populate-volatile.sh