busybox: put udhcpc in background
authorSaul Wold <sgw@linux.intel.com>
Fri, 6 Jun 2014 00:09:03 +0000 (17:09 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jun 2014 09:27:46 +0000 (10:27 +0100)
If the interface is slow to come up udhcpc will continue in the background

[YOCTO #6339]

(From OE-Core rev: 45af0ba08dbc676be41fd29e9877fe820b531f7c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc

index 0c1969c..f6cb039 100644 (file)
@@ -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