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.
This commit is contained in:
parent
fd085cdc6b
commit
57e85e5c37
|
@ -3,7 +3,7 @@ DESCRIPTION = "Initscripts provide the basic system startup initialization scrip
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||||
PR = "r141"
|
PR = "r142"
|
||||||
|
|
||||||
INHIBIT_DEFAULT_DEPS = "1"
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
|
|
||||||
|
@ -125,6 +125,7 @@ do_install () {
|
||||||
update-rc.d -r ${D} devpts.sh start 38 S .
|
update-rc.d -r ${D} devpts.sh start 38 S .
|
||||||
if [ "${TARGET_ARCH}" = "arm" ]; then
|
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 .
|
||||||
|
update-rc.d -r ${D} alignment.sh start 06 S 2 .
|
||||||
fi
|
fi
|
||||||
# We wish to have /var/log ready at this stage so execute this after
|
# We wish to have /var/log ready at this stage so execute this after
|
||||||
# populate-volatile.sh
|
# populate-volatile.sh
|
||||||
|
|
Loading…
Reference in New Issue