Hi,
On 6 September 2016 at 22:43, Mike Frysinger <
vap...@chromium.org> wrote:
> any variable you see like FLAGS_xxx comes directly from the command line and
> should never be set via the env. so there will be a --version option to
> build_image which automatically turns into FLAGS_version. see the shflags
> project if you want more details on that.
Good to know, was not aware about shflags. Thanks.
> this flag isn't used just to control the output directory though ... it will
> set the build/branch/patch versions and the overall version string too.
> maybe you're OK with that.
That's works for me.
> if you just want to add a custom suffix to the output directory, look at
> build_image's --build_attempt flag instead. that should only be used when
> creating the output directory afaict.
build_attempt is defined as integer, so I can imagine that this is
intended to have a different attempts to build but not really suffix
with a string. String won't work. So seems --version is the best fit.
Anyway, thanks I understand things better now.
/Waldek