All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Cc: Yocto list discussion <yocto@yoctoproject.org>
Subject: Re: Busybox configuration example?
Date: Fri, 18 Oct 2013 07:09:15 -0600	[thread overview]
Message-ID: <526132FB.3090202@mlbassoc.com> (raw)
In-Reply-To: <CAP71WjwidN0f1K6m1SfQqCbObqRKD7f4_RbmftrWkE9iOF7_OA@mail.gmail.com>

On 2013-10-17 13:49, Nicolas Dechesne wrote:
> On Thu, Oct 17, 2013 at 3:50 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> 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?
>
> here is an example of busybox config fragment, that we use
>
> https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=tree;f=meta-linaro/recipes-core/busybox;h=2c4a6b6b8b542b2eef04561d95a802d855ae7573;hb=master
>
> i don't know if the config fragment would work for what you are
> doing.. let us know ;-)

Thanks for the example.  I added this simple config fragment and it works fine.
   # Force 'ifup' to wait longer for really slow links...
   CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n -T 1 -t 20"
Of course, the comment is stripped in the final configuration file, but it
documents the purpose of the fragment.

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


  reply	other threads:[~2013-10-18 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17 13:50 Busybox configuration example? Gary Thomas
2013-10-17 15:58 ` Jack Mitchell
2013-10-17 19:49 ` Nicolas Dechesne
2013-10-18 13:09   ` Gary Thomas [this message]
2013-10-18 13:15     ` Nicolas Dechesne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=526132FB.3090202@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=nicolas.dechesne@linaro.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.