]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
livepatch/klp-build: add terminal color output
authorJoe Lawrence <joe.lawrence@redhat.com>
Tue, 10 Mar 2026 20:37:50 +0000 (16:37 -0400)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Mon, 16 Mar 2026 19:52:53 +0000 (12:52 -0700)
commit1fbc9b855f08f89ccf933324a5cbd8c53ee94d87
treefdd92cee92f29f6ec6d8705ccfaa108893ed2940
parentb41d8b7d1752f2f85fc1a87f5e4f4dda45adad15
livepatch/klp-build: add terminal color output

Improve the readability of klp-build output by implementing a basic
color scheme.  When the standard output and error are connected to a
terminal, highlight status messages in bold and warning/error prefixes
in yellow/red.

Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Link: https://patch.msgid.link/20260310203751.1479229-12-joe.lawrence@redhat.com
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
scripts/livepatch/klp-build