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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment