diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-03-26 11:46:54 +0100 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-03-26 13:23:04 +0100 |
commit | 97647c32aa2c61107230528d448bfa1e56da0f73 (patch) | |
tree | 33bbb5bbf16b298c3e92e2f6781c63e22407a568 /tests/units/test_0008_refresh.py | |
parent | 42791a1a7ce08851a92db16ae8d7ce11ee8fb09b (diff) |
utils: add enforce_gpt argument to get_efi_partition()
The Windows bootloader only supports a UEFI boot from a GPT
partition. Set enforce_gpt to True in every codepath related to
Windows. When enforce_gpt is set to True get_efi_partition()
raises an exception when an MBR partition scheme is detected.
Diffstat (limited to 'tests/units/test_0008_refresh.py')
0 files changed, 0 insertions, 0 deletions