summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-06-05 17:09:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-06 10:25:54 +0100
commit45af0ba08dbc676be41fd29e9877fe820b531f7c (patch)
tree380405c81878605706490339155996fbf6210736
parentbba835fed88c3bd5bb5bd58962034aef57c408d8 (diff)
downloadopenembedded-core-contrib-45af0ba08dbc676be41fd29e9877fe820b531f7c.tar.gz
openembedded-core-contrib-45af0ba08dbc676be41fd29e9877fe820b531f7c.tar.bz2
openembedded-core-contrib-45af0ba08dbc676be41fd29e9877fe820b531f7c.zip
busybox: put udhcpc in background
If the interface is slow to come up udhcpc will continue in the background [YOCTO #6339] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 0c1969c890..f6cb039543 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -119,6 +119,7 @@ do_prepare_config () {
{if(net==2&&$0 !~ /^#/&&$1){print("# "$1" is not set")}else{print}}' \
${S}/.config.oe-tmp > ${S}/.config
fi
+ sed -i 's/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"/' ${S}/.config
}
# returns all the elements from the src uri that are .cfg files