From fb49f5664a0ff0cf5f36c34ccefe082b2cb35d88 Mon Sep 17 00:00:00 2001 From: Manuel Date: Fri, 25 Apr 2025 17:43:14 +0000 Subject: [PATCH] new commit --- builder/core/bootloaders.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/builder/core/bootloaders.py b/builder/core/bootloaders.py index 849f21ea..acbaa93b 100644 --- a/builder/core/bootloaders.py +++ b/builder/core/bootloaders.py @@ -258,7 +258,7 @@ def create_grub_efi_boot(architecture, paths, grub_cfg_template_dir, memtest_wan f.write(grub_pep_cfg_content) logger.info(f" grub_pep.cfg generated at: {grub_pep_cfg_path}") - def build_grub_image(architecture, grub_arch, efi_arch): + def build_grub_image(architecture, grub_arch, efi_arch, grub_platform): """Internal function to build the GRUB EFI image for an architecture.""" logger.info(f"Building GRUB EFI image for architecture: {architecture}") logger.info(f" => Building GRUB EFI image for GRUB arch: {grub_arch}, EFI: {efi_arch}...") @@ -271,7 +271,6 @@ def create_grub_efi_boot(architecture, paths, grub_cfg_template_dir, memtest_wan "--", f"--directory=/usr/lib/grub/{grub_platform}", f"--format={grub_platform}", - f"--format={grub_platform}", f"--output={efi_file_tmp_path}", f"boot/grub/grub.cfg" ]