init-ifupdown: add RDEPENDS on ifupdown
The 'ifup' command provided by 'busybox' and 'ifupdown' behave differently when an interface has been configured: - The one from busybox $ sudo ifup lo; echo $? RTNETLINK answers: File exists 1 - The one from ifupdown $ sudo ifup lo; echo $? ifup: interface lo already configured 0 The exit code 1 from the busybox one would cause the networking service failed, so add RDEPENDS on ifupdown to avoid using the one from busybox. Partial-Bug: 1901820 Change-Id: I6400a343bb2eebbf95a971a97f98a50ce588b6b2 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
parent
29d7ea1b69
commit
c74ebee4bc
@ -6,3 +6,5 @@ auto lo
|
||||
iface lo inet loopback
|
||||
EOF
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} += "ifupdown"
|
||||
|
Loading…
Reference in New Issue
Block a user