Skip to contentSkip to conversation

x86-uefi: Switch to systemd-boot

PATCH New Jan Kiszka 1 participant 1 message Jan 6

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 x86-uefi: Switch to systemd-boot

From: Jan Kiszka <[email protected]>

More lightweight, and we already use it for non-x86 target.

Only affects the base image, we continue to use EFI Boot Guard on the update images.

---
 conf/machine/x86-uefi.conf | 4 ++--
 wic/x86_64-generic.wks     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
conf/machine/x86-uefi.conf +2 -2
index 6bb607a9..84cf8bbe 100644
@@ -1,7 +1,7 @@
 #
 # CIP Core, generic profile
 #
-# Copyright (c) Siemens AG, 2019-2024
+# Copyright (c) Siemens AG, 2019-2026
 #
 # SPDX-License-Identifier: MIT
 #
@@ -10,7 +10,7 @@ DISTRO_ARCH = "amd64"
 
 IMAGE_FSTYPES ?= "wic"
 WKS_FILE ?= "x86_64-generic.wks"
-IMAGER_INSTALL:wic += "${GRUB_BOOTLOADER_INSTALL}"
+IMAGER_INSTALL:wic += "${SYSTEMD_BOOTLOADER_INSTALL}"
 USE_CIP_KERNEL_CONFIG = "1"
 
 PREFERRED_PROVIDER_factory-reset-helper = "factory-reset-helper-efi"
wic/x86_64-generic.wks +2 -2
index a2b9c21b..75e29cf7 100644
@@ -1,12 +1,12 @@
 #
 # CIP Core, generic profile
 #
-# Copyright (c) Siemens AG, 2019
+# Copyright (c) Siemens AG, 2019-2026
 #
 # SPDX-License-Identifier: MIT
 #
 
-part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi" --label efi --part-type EF00 --align 1024 --fsuuid 0x4321dcba --uuid cf142945-6fa1-4945-b0f2-b8d6226298c0
+part /boot --source bootimg-efi-isar --sourceparams "loader=systemd-boot" --label efi --part-type EF00 --align 1024 --fsuuid 0x4321dcba --uuid cf142945-6fa1-4945-b0f2-b8d6226298c0
 
 part / --source rootfs --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --fsuuid 1f55d66a-40d8-11ee-be56-0242ac120002 --uuid f225331b-2d9c-45a2-bcfe-4a6e86287dfb
 
Signature · 1 line
2.51.0