]> code.ossystems Code Review - openembedded-core.git/commitdiff
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:25:54 +0000 (10:25 +0100)
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>
meta/recipes-core/busybox/busybox.inc

index 0c1969c89004125b8f57a5d397213a15e28c422f..f6cb039543b516d6e752398e485e50ad6d50ac0b 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