summaryrefslogtreecommitdiff
path: root/src/mainboard/google/glados
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2024-05-13 17:52:22 +0200
committerNico Huber <nico.h@gmx.de>2024-08-05 08:58:18 +0000
commitea54d3e4d03654410d673354e2d1f90dad8a7cde (patch)
treea9ac33c50da2d044b1dd2d090960617b60bc4567 /src/mainboard/google/glados
parent52a1c61b97792ea592eeaa13a61692f4dd0580e8 (diff)
util/autoport: Use sudo to call log-making programs
Running autoport as root has the annoying side effect of making all generated files owned by root. Prevent this by using sudo to invoke log-making programs (lspci, dmidecode, acpidump, inteltool, ectool, superiotool). These programs either need to be run as root or allow collecting more information if run as root (lspci). In case there's a valid reason not to use sudo, provide a prompt to let autoport run the programs directly, as it originally did. There might be someone trying to run autoport from an OS that lacks sudo. Change-Id: I4bf4ddf8dd2cb930e9b7303e2ea986d8c072aa7a Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82404 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/google/glados')
0 files changed, 0 insertions, 0 deletions