summaryrefslogtreecommitdiffstats
path: root/ogclient
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-08-16 13:49:17 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-09-13 11:16:24 +0200
commit8296ba9a518b0ce50002061c5f4746e081cea3fe (patch)
tree25b3a03dfade79965ce290b8b9813635b2fa49b0 /ogclient
parent49038f125aaadc3967a8eec251a4ea69ec5a8869 (diff)
disk: add get_efi_partition function
Add utility function inside disk.py to find, if any, the first ESP partition of a given disk. The disk is provided as an integer (starting at 1 following OpenGnsys scripts usual values), meaning the (n-1)th disk from the disk array returned from get_disks(). In the future a better mechanism should be put in place to fetch probed disks from a running client. This change is part of the upcoming drop of "IniciarSesion" script in favor of a Python native approach. Specifically regarding UEFI systems.
Diffstat (limited to 'ogclient')
0 files changed, 0 insertions, 0 deletions