Merge ~philroche/maas-images:feature/shim-signed-rename into maas-images:master

Proposed by Philip Roche
Status: Merged
Approved by: Adam Collard
Approved revision: 12029e75c2a5402bd0e7cd32c68583c8edb05f6a
Merged at revision: 12029e75c2a5402bd0e7cd32c68583c8edb05f6a
Proposed branch: ~philroche/maas-images:feature/shim-signed-rename
Merge into: maas-images:master
Diff against target: 22 lines (+2/-2)
1 file modified
conf/bootloaders.yaml (+2/-2)
Reviewer Review Type Date Requested Status
Adam Collard (community) Approve
Review via email: mp+441575@code.launchpad.net

Commit message

Fix: Migrate to shimx64.efi.signed.latest and shimaa64.efi.signed.latest for shim

Following a rename of the shimx64.efi.signed files to shimx64.efi.signed.latest and
shimx64.efi.signed.previous we need to migrate the new `.latest` file instead.

This fixes the build issue when creating bootloader stream.

```
13:05:31 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/maas-images-onnhjghf/usr/lib/shim/shimx64.efi.signed'
13:05:32 Failed to import the bootloaders
```

To post a comment you must log in.
Revision history for this message
Adam Collard (adam-collard) wrote :

+1, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/conf/bootloaders.yaml b/conf/bootloaders.yaml
2index 619ed5d..d7d2a67 100644
3--- a/conf/bootloaders.yaml
4+++ b/conf/bootloaders.yaml
5@@ -29,7 +29,7 @@ bootloaders:
6 release: focal
7 os: grub-efi-signed
8 files:
9- - usr/lib/shim/shimx64.efi.signed, bootx64.efi
10+ - usr/lib/shim/shimx64.efi.signed.latest, bootx64.efi
11 - usr/lib/grub/x86_64-efi-signed/grubnetx64.efi.signed, grubx64.efi
12 - firmware-platform: uefi
13 packages:
14@@ -41,7 +41,7 @@ bootloaders:
15 release: focal
16 os: grub-efi
17 files:
18- - usr/lib/shim/shimaa64.efi.signed, bootaa64.efi
19+ - usr/lib/shim/shimaa64.efi.signed.latest, bootaa64.efi
20 - usr/lib/grub/arm64-efi-signed/grubnetaa64.efi.signed, grubaa64.efi
21 - firmware-platform: open-firmware
22 packages:

Subscribers

People subscribed via source and target branches