[poky] Setting busybox options/configuration

Chris Larson clarson at kergoth.com
Fri May 4 07:41:58 PDT 2012


On Fri, May 4, 2012 at 7:09 AM, Gary Thomas <gary at mlbassoc.com> wrote:
> 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.

Would be nice if we could leverage linux-yocto config snippets here,
at some point.
-- 
Christopher Larson



More information about the poky mailing list