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.
master
Alejandro Sirgo Rica 2024-10-21 12:04:23 +02:00
parent 7be953dbe7
commit b3659a30fc
1 changed files with 1 additions and 1 deletions

View File

@ -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)