On 5/29/24 05:31, bibibob...@gmail.com wrote:
Greetings everyone,
Dummy question, is there a quick way to disable bitbake output color?
When we do container build, there is a lot of ANSI color code.
[36m[39m NOTE: recipe python3-gcovr-native-5.1-r0: task
do_autorev_check: Succeeded[0m[0m
...
I was wondering if there is some quick TERM= setting or NO_COLOR env
var that can suppress these things.
Just checked the codes:
if color == 'always' or (color == 'auto' and output.isatty() and
os.environ.get('NO_COLOR', '') == ''):
format.enable_color()
I think you set NO_COLOR in env and the color should not be enabled.
e.g.,
NO_COLOR=1 bitbake xxx
Regards,
Qi
Thanks,
m.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63221): https://lists.yoctoproject.org/g/yocto/message/63221
Mute This Topic: https://lists.yoctoproject.org/mt/106358067/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-