Skip to content

Commit 5453a1f

Browse files
committed
update
1 parent 5b5713a commit 5453a1f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/image/imageos/imageos.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -913,13 +913,13 @@ func buildImageUKI(installRoot string, template *config.ImageTemplate) error {
913913
dstBootloader := ""
914914

915915
switch template.Target.Arch {
916-
case "amd64":
917-
log.Debugf("Target architecture is x86_64, proceeding with bootloader copy")
916+
case "x86_64":
917+
log.Infof("Target architecture is x86_64, proceeding with bootloader copy")
918918
// 3. Copy systemd-bootx64.efi to ESP/EFI/BOOT/BOOTX64.EFI
919919
srcBootloader = filepath.Join("usr", "lib", "systemd", "boot", "efi", "systemd-bootx64.efi")
920920
dstBootloader = filepath.Join(espDir, "EFI", "BOOT", "BOOTX64.EFI")
921-
case "arm64":
922-
log.Debugf("Target architecture is ARM64, proceeding with bootloader copy")
921+
case "aarch64":
922+
log.Infof("Target architecture is ARM64, proceeding with bootloader copy")
923923
// 3. Copy systemd-bootx64.efi to ESP/EFI/BOOT/BOOT64.EFI
924924
srcBootloader = filepath.Join("usr", "lib", "systemd", "boot", "efi", "systemd-bootaa64.efi")
925925
dstBootloader = filepath.Join(espDir, "EFI", "BOOT", "BOOTAA64.EFI")

0 commit comments

Comments
 (0)