summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-03-30 14:21:42 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-31 09:15:05 +0100
commitd492aec2c2afc35eb36e7b7555c514205ab3474c (patch)
treec0b67d932ffb767588b419281ea26c837c8078dc /meta/recipes-support
parentab5c62ea0db5f4e2c5ae79707b267bf0a2df3365 (diff)
downloadpoky-d492aec2c2afc35eb36e7b7555c514205ab3474c.tar.gz
recipes-support/rng-tools: Change runlevel start from S to 2, 3, 4, 5.
When using systemd as init rng-tools is causing a circular dependency between units, [ 7.706250] systemd[1]: basic.target: Found ordering cycle on basic.target/start [ 7.706934] systemd[1]: basic.target: Found dependency on sysinit.target/start [ 7.707795] systemd[1]: basic.target: Found dependency on rng-tools.service/start [ 7.708692] systemd[1]: basic.target: Found dependency on basic.target/start [ 7.709461] systemd[1]: basic.target: Breaking ordering cycle by deleting job rng-tools.service/start [ 7.710404] systemd[1]: rng-tools.service: Job rng-tools.service/start deleted to break ordering cycle starting with basic.target/start The problem is related to systemd running sysvinit scripts by default add dependency of basic.target for sysvinit script so when sysvscript is at rcS is added also as dependency of sysinit.target causing a cirular dependency in this case: basic.target -> sysinit.target -> rng-tools.service -> basic.target. (From OE-Core rev: e3fc8ef152494e9b7cff8de110a784150295f17e) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/rng-tools/rng-tools_5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools_5.bb b/meta/recipes-support/rng-tools/rng-tools_5.bb
index 53d2d6165e..913a092fd6 100644
--- a/meta/recipes-support/rng-tools/rng-tools_5.bb
+++ b/meta/recipes-support/rng-tools/rng-tools_5.bb
@@ -43,4 +43,4 @@ do_install_append() {
43} 43}
44 44
45INITSCRIPT_NAME = "rng-tools" 45INITSCRIPT_NAME = "rng-tools"
46INITSCRIPT_PARAMS = "start 30 S . stop 30 0 6 1 ." 46INITSCRIPT_PARAMS = "start 30 2 3 4 5 . stop 30 0 6 1 ."