[U-Boot] [PATCH 01/42] moveconfig: Add an option to skip prompts
Simon Glass
sjg at chromium.org
Thu Aug 25 14:04:20 CEST 2016
Hi Masahiro,
On 24 August 2016 at 19:45, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> Hi Simon,
>
>
> 2016-08-25 1:51 GMT+09:00 Simon Glass <sjg at chromium.org>:
>> At present it is not easy to use moveconfig from a script since it asks
>> for user input a few times. Add a -y option to skip this and assume that
>> 'y' was entered.
>
>
> You can do as follows:
>
> yes | tools/moveconfig CONFIG_FOO CONFIG_BAR
>
>
> If you want to respond 'no' to any prompts,
>
> yes n | tools/moveconfig CONFIG_FOO CONFIG_BAR
>
>
>
>
> I do not mind it if people want to do it in a self-contained way, though.
I much prefer tat the tool supports this directly, like fsck for
example. It could be changed to select what gets done, but from what I
can see at the moment, we normally want to remove old uses.
Regards,
Simon
More information about the U-Boot
mailing list