[U-Boot] [PATCH 01/42] moveconfig: Add an option to skip prompts

Masahiro Yamada yamada.masahiro at socionext.com
Thu Aug 25 03:45:17 CEST 2016


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.



-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list