Skip to main content
Topic: mkinitcpio 38.1 broke UEFI stub finding (Read 309 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

mkinitcpio 38.1 broke UEFI stub finding

Hi,

I have Artix (OpenRC) on btrfs partition encrypted with LUKS (cryptsetup) and I use Unified Kernel Image (UKI) which then gets signed using my custom secure boot keys.
For the past year or so I have been using configuration from arch wiki.
With recent update of mkinitcpio from 38 to 38.1 following line has been changed:
Code: [Select]
-        for stub in /usr/lib/{systemd/boot/efi,gummiboot}/"linux${uefiarch}.efi.stub"; do
+        for stub in /usr/lib/{elogindsystemd/boot/efi,gummiboot}/"linux${uefiarch}.efi.stub"; do
My UEFI stub is located in /usr/lib/systemd/boot/linuxx64.efi.stub.
Initially I thought that maybe something has changed and package that was providing systemd's uefi sub didn't update.
But after some more searching, I can't find a single reference on the internet to a directory called /usr/lib/elogindsystemd.
Looks like a typo.

For now I just downgraded mkinitcpio to version 38 and just in case added a symlink if I updated it by accident.

PS: I chceked Arch's upstream repo. This change is not present there.