Message ID | 20230925012502.770037-3-pkj@axis.com |
---|---|
State | Accepted, archived |
Commit | 6b7883533af9c14d80a9f1ae5142644f155b5dee |
Headers | show |
Series | [PATCHv2,1/3] tinfoil: Do not fail when logging is disabled and full config is used | expand |
diff --git a/bitbake/bin/bitbake-getvar b/bitbake/bin/bitbake-getvar index 40bf3dc620..ed2dad63a2 100755 --- a/bitbake/bin/bitbake-getvar +++ b/bitbake/bin/bitbake-getvar @@ -36,7 +36,7 @@ if __name__ == "__main__": print("--flag only makes sense with --value") sys.exit(1) - quiet = args.quiet + quiet = args.quiet or args.value with bb.tinfoil.Tinfoil(tracking=True) as tinfoil: if args.recipe: tinfoil.prepare(quiet=3 if quiet else 2)
It does not make any sense to get log output from bitbake-getvar when the --value option is used as the log output is sent to stdout and thus interferes with the output of the variable's value. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> --- PATCHv2: Adapted to the changes in the preceding commit. bitbake/bin/bitbake-getvar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)