summaryrefslogtreecommitdiffstats
path: root/src/utils/boot.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/boot.py')
-rw-r--r--src/utils/boot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/boot.py b/src/utils/boot.py
index cd66357..4de20b9 100644
--- a/src/utils/boot.py
+++ b/src/utils/boot.py
@@ -69,7 +69,7 @@ def _boot_uefi_linux(disk, part, mountpoint):
umount(esp_mountpoint)
def boot_os_at(disk, part):
- if not is_uefi_supported():
+ if not is_uefi_supported(disk):
raise NotImplementedError('BIOS booting is not implemented yet')
device = get_partition_device(disk, part)