diff options
author | Paulo Neves <ptsneves@gmail.com> | 2023-01-25 13:34:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-26 21:50:31 +0000 |
commit | f98bf5607425b689879dbab1278433879425164a (patch) | |
tree | 23cf4c13e35b7db1993171c944bb8a14fdaac69d /bitbake/lib/toaster/orm | |
parent | 29d98c77f232edc69a663ae01aa23697f920fd51 (diff) | |
download | poky-f98bf5607425b689879dbab1278433879425164a.tar.gz |
bitbake: bitbake-getvar: Add a quiet command line argument
bitbake-getvar does not have a way to silence bitbake
server's logger and that makes the tool hard to use for
text processing. This is especially true when one wants to
get a bitbake value to be piped to some other utility and
instead we get uncontrolled logging messages or warnings
together with bitbake's variable value.
Example without quiet:
bitbake-getvar --value MACHINE
NOTE: Starting bitbake server...
qemux86-64
With quiet:
bitbake-getvar --value MACHINE --quiet
qemux86-64
(Bitbake rev: af354e975d0b4c26d0e91e3c82946b093bc11b45)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm')
0 files changed, 0 insertions, 0 deletions