From b3659a30fc3b8f5b09d14869aa33b09d720dabe4 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 21 Oct 2024 12:04:23 +0200 Subject: bios: fix use of undefined initrd_dir variable in get_vmlinuz_path Use the intended linuz_dir instead of initrd_dir in the function get_vmlinuz_path. --- src/utils/bios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/bios.py') diff --git a/src/utils/bios.py b/src/utils/bios.py index 3fc762f..916f7d4 100644 --- a/src/utils/bios.py +++ b/src/utils/bios.py @@ -36,7 +36,7 @@ def get_vmlinuz_path(mountpoint): target_file = file if not target_file: - raise OgError(f'vmlinuz not found in {initrd_dir}') + raise OgError(f'vmlinuz not found in {linuz_dir}') return os.path.join(linuz_dir, target_file) -- cgit v1.2.3-18-g5258