diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-12-12 16:38:04 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-14 09:11:19 +0000 |
commit | bf595ca4b6cf5a2bf6bff0581bb927521e5767bb (patch) | |
tree | 14297255454c51d419ff834b7395403b12830fee /meta/recipes-core | |
parent | ab0c7af8f971a0846a4a6c7fb07f1c17e7c96604 (diff) | |
download | poky-bf595ca4b6cf5a2bf6bff0581bb927521e5767bb.tar.gz |
init-ifupdown: adjust priority of networking to fix system freeze problem
On mpc8315e, a system freeze is encountered at system boot time if
connman and init-ifupdown are installed.
The error message before the freeze is:
"ip: RTNETLINK answers: File exists"
This problem is introduced by the following commit.
dc80eea sysvinit: fix problem in switching runlevels
Part of the above commit is to make the networking init script run
at runlevel 2 3 4 5 instead of runlevel S. However, after the change,
networking is run after connman. And this causes the problem stated
above.
Make networking run first when entering runlevel 2 3 4 5, so that we
don't break things.
[YOCTO #5651]
(From OE-Core rev: d518892d38ac399c091ff509a9fd90fc00d71224)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb index 0f4290c7c3..77e8384aa0 100644 --- a/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb +++ b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb | |||
@@ -9,7 +9,7 @@ PR = "r3" | |||
9 | inherit update-rc.d | 9 | inherit update-rc.d |
10 | 10 | ||
11 | INITSCRIPT_NAME = "networking" | 11 | INITSCRIPT_NAME = "networking" |
12 | INITSCRIPT_PARAMS = "start 10 2 3 4 5 . stop 80 0 6 1 ." | 12 | INITSCRIPT_PARAMS = "start 01 2 3 4 5 . stop 80 0 6 1 ." |
13 | 13 | ||
14 | SRC_URI = "file://copyright \ | 14 | SRC_URI = "file://copyright \ |
15 | file://init \ | 15 | file://init \ |