From 53c1857025e78c6fe3302700a5a93a5990a14184 Mon Sep 17 00:00:00 2001 From: zj <1052308357@qq.com> Date: Thu, 12 Feb 2026 02:52:50 +0800 Subject: [PATCH] 10 --- backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.py b/backend.py index efa6ae4..6b00b92 100644 --- a/backend.py +++ b/backend.py @@ -1340,7 +1340,7 @@ def _manual_install_efi_files(mount_point: str, efi_target: str, efi_grub_file: modules = "part_gpt part_msdos fat ext2 xfs btrfs normal boot linux configfile search search_fs_uuid search_fs_file" # 构建 chroot 内的输出路径 - chroot_output_path = f"/boot/efi/EFI/{efi_bootloader_id}/{efi_grub_file}" + chroot_output_path = f"/boot/efi/EFI/{bootloader_id}/{efi_grub_file}" # 尝试使用 grub-mkimage 生成 EFI 文件 chroot_cmd_prefix = ["sudo", "chroot", mount_point]