diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-03-30 14:21:42 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-30 21:32:11 +0100 |
commit | e3fc8ef152494e9b7cff8de110a784150295f17e (patch) | |
tree | a3c7025cd95ffe92adcd6590b590d0698ff4f79d | |
parent | 04b8fcc95f339282edc9ab405d0ba0e51dbc1d91 (diff) | |
download | openembedded-core-e3fc8ef152494e9b7cff8de110a784150295f17e.tar.gz openembedded-core-e3fc8ef152494e9b7cff8de110a784150295f17e.tar.bz2 openembedded-core-e3fc8ef152494e9b7cff8de110a784150295f17e.zip |
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.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/rng-tools/rng-tools_5.bb | 2 |
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() { } INITSCRIPT_NAME = "rng-tools" -INITSCRIPT_PARAMS = "start 30 S . stop 30 0 6 1 ." +INITSCRIPT_PARAMS = "start 30 2 3 4 5 . stop 30 0 6 1 ." |