Re: [PATCH v3 08/14] Use OS version to set partition labels and UKI name

Demi Marie Obenour
2025-11-20T12:11:55Z

[-- Attachment #1.1.1: Type: text/plain, Size: 687 bytes --]

On 11/19/25 03:18, Demi Marie Obenour wrote:
> @@ -25,7 +25,7 @@ build/boot.fat: $(SYSTEMD_BOOT_EFI) $(EFI_IMAGE) build/empty
> $(TRUNCATE) -s 440401920 $@
> $(MKFS_FAT) $@
> $(MMD) -i $@ ::/EFI ::/EFI/BOOT ::/EFI/Linux
> - $(MCOPY) -i $@ $(EFI_IMAGE) ::/EFI/Linux/spectrum.efi
> + $(MCOPY) -i $@ $(EFI_IMAGE) '::/EFI/Linux/Spectrum_$(VERSION).efi'
> $(MCOPY) -i $@ $(SYSTEMD_BOOT_EFI) ::/EFI/BOOT/$(EFINAME)

This breaks the live image, which assumes that the UKI will have the
name spectrum.efi. The simplest fix is to swap this patch and the
previous one, so that the live image is deleted before it gets broken.
--
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]