[poky] Setting busybox options/configuration

Gary Thomas gary at mlbassoc.com
Fri May 4 07:09:45 PDT 2012


I recall seeing some discussion about this, but not the conclusion.
Is there a way to [easily] override/adjust the busybox configuration?
In particular, I'd like to override CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS
to settings that are more appropriate for my hardware.

Currently, I'm just editing the config file using this snippet in
a .bbappend file:

do_prepare_config_append () {
   sed -i 's/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n -T 1 -t 20"/' ${S}/.config
}

Crude, but it works.  If there's a better way, I'll gladly use it.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list