[yocto] Busybox configuration example?

Gary Thomas gary at mlbassoc.com
Thu Oct 17 06:50:27 PDT 2013


I see mention of busybox configuration fragments in the mega
manual (section 5.9.7) but no explanation nor examples.

Can someone explain how I might control my busybox builds?
For example, I routinely add this to busybox*.bbappend:

   #
   # Force 'ifup' to wait longer for really slow links...
   #
   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
   }

which is just editing the confguration file to match my preferences.
Is there a way to do this using the "configuration fragments" mentioned
above?

Thanks

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



More information about the yocto mailing list