]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: Make initrd_prepare() semantically equivalent to combine_initrds() 34409/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 13 Sep 2024 19:37:20 +0000 (21:37 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 15 Sep 2024 08:11:59 +0000 (10:11 +0200)
commitf8fa4222c9ac3e74e91c64e25e9532c99559cf99
tree43a006e2e15ccddf2fc5f459f67edb10b633fc6c
parentc9c5c8d29b23ec3058f873525b776ed269e27f39
boot: Make initrd_prepare() semantically equivalent to combine_initrds()

Currently, trying to boot images with type 1 entries generated by mkosi
with qemu freezes in the kernel EFI stub. I'm not going to pretend I
understand what's going on, but when I reported a similar problem with
UKIs, the fix was to rework the code in combine_initrds() in the stub
to behave like it does today. It seems that same fix was never applied
to systemd-boot's combine_initrds() function, so let's do that now to
fix the freezes I've been seeing trying to boot images with type 1 entries
in qemu.
src/boot/efi/boot.c