Skip to content
Commit 9876c68a authored by Ryan Roberts's avatar Ryan Roberts
Browse files

cli: Read grub.cfg as root



Some systems lock down grub.cfg so that it is only readable by root.
Therefore, on these systems, ctx.get() would fail because it runs as the
regular user. Work around this with "sudo cat" then capture the stdout.

Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
parent 2a4aa349
Loading
Loading
Loading