RSS Bot Posted March 26, 2024 Posted March 26, 2024 Description GitHub job summaries do not support colored output, but the kernel hardening script is using colored output. Thus, the job summary in the Actions panel is littered with ugly characters. This commit replaces them with emojis to enhance visibility. Before: After: How Has This Been Tested? [x] run locally: kernel-hardening-checker -m show_fail -c linux-rockchip64-edge.config | sed 's/^/ /; s/\x1b\[32m/✅ /; s/\x1b\[31m/❌ /; s/\x1b\[0m//' Checklist: [x] My code follows the style guidelines of this project [x] I have performed a self-review of my own code [x] I have commented my code, particularly in hard-to-understand areas View the full article
Recommended Posts