efi_loader: fix dtbdump output color and format
authorAdriano Cordova <adrianox@gmail.com>
Thu, 8 May 2025 18:30:33 +0000 (14:30 -0400)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 11 May 2025 11:30:33 +0000 (13:30 +0200)
commit92cf91119f3c4785c37e8b12af224092c9a80b36
tree31426917c404b900752a943482cb5dc021f28d4c
parent43d43241d1c9592bee640227a1c8ed8bc880f255
efi_loader: fix dtbdump output color and format

Imitate in dtbdump what initrddump does for color,
newlines and input handling. The output parsing in
the CI is strict and with the current output the CI
is not recongnizing the prompt '=>'.

Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/dtbdump.c