]> git.ipfire.org Git - thirdparty/systemd.git/commit
stub: load previous initrd that is already configured, too
authorLennart Poettering <lennart@amutable.com>
Fri, 20 Mar 2026 20:48:12 +0000 (21:48 +0100)
committerLennart Poettering <lennart@amutable.com>
Tue, 21 Apr 2026 06:30:26 +0000 (08:30 +0200)
commit426134b0e7112a09eae941d97f68b2fa1b76c4b7
treeb0580f040d039e2ed69cbc358cd30efc3461ddad
parentc363bb18699e09e263ab5632e364a1aea4082dfc
stub: load previous initrd that is already configured, too

This changes the initrd combination logic to also include any initrd
already configured via the "LINUX_INITRD_MEDIA_GUID" device in the
initrd we pass to the linux kernel.

Or in other words: with this systemd-stub starts operating purely
incremental: it will extend any previously installed initrd with its own
stuff, so that both the previous initrd(s) and systemd-stub's are in
effect.
src/boot/initrd.c
src/boot/initrd.h
src/boot/stub.c