This commit is contained in:
zj
2026-02-12 02:52:50 +08:00
parent f1c69e91f7
commit 53c1857025

View File

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