summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
authorPaulo Neves <ptsneves@gmail.com>2023-08-24 10:41:00 +0200
committerSteve Sakoman <steve@sakoman.com>2023-10-18 05:13:24 -1000
commit222be3e3b989cb32cd8e3601615fac276c04c3ea (patch)
tree7b6eb43227c973852a81ab97100906a46ebc8098 /scripts/lib/scriptutils.py
parentef5214f584765810e94a6f61585ccbcd9b909502 (diff)
downloadpoky-222be3e3b989cb32cd8e3601615fac276c04c3ea.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: d677daa0770c66010fc4ed0af5bbbb94752ba590) Signed-off-by: Paulo Neves <ptsneves@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit af354e975d0b4c26d0e91e3c82946b093bc11b45) Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions