buildman: Automatically create a config file if needed
authorSimon Glass <sjg@chromium.org>
Thu, 28 Jul 2016 02:32:59 +0000 (20:32 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 1 Aug 2016 01:37:08 +0000 (19:37 -0600)
commit8e605a5e3e41861c4b1c55bc3b911abde2323939
tree3153f42a62f274f4d413d4b0a5281ee100c91a60
parent8ea42101d2e97bb3c357baaf815ea575eb5464c1
buildman: Automatically create a config file if needed

If there is no ~/.buildman file, buildman currently complains and exists. To
make things a little more friendly, create an empty one automatically. This
will not allow things to be built, but --fetch-arch can be used to handle
that.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/buildman/bsettings.py