Jump to content

[Armbian build PR] - GH Actions: Beautify kernel hardening analysis


Recommended Posts

Posted

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:

bb9a33c1-4373-49b4-92d4-3ca776c42e73

After:

16e42ed6-2b3d-4974-b37a-f4c9342a793f

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

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines