Created attachment 222 [details] Redirect failed output from which. For example ifconfig is being searched for with which: IFCONFIG=`which ifconfig` if [ -z "$IFCONFIG" ]; then # Is it ever anywhere else? IFCONFIG=/sbin/ifconfig fi so the output which: no ifconfig in ${PATH} is very confusing as it is found correctly by the next lines. The attached patch adds a 2>/dev/null to the which invocations. It does not however do any error checking, which probably should be done.
Fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d1a84c9f3d387bfeaeaa0007dda8d90164633255