]> git.ipfire.org Git - thirdparty/systemd.git/commit
gpt-auto-generator: optionally, set up root fs via dissection logic
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Mar 2025 14:44:50 +0000 (15:44 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 3 Apr 2025 09:08:57 +0000 (11:08 +0200)
commit198f7badaa884714439fbf96074acff404dc5bf2
tree701e876d701b509520437c84020ea9307f28c789
parent1e6f03a45d992030b45edcb7260c8abde96f9f88
gpt-auto-generator: optionally, set up root fs via dissection logic

This introduces root=dissect, which is a lot like root=gpt-auto, but
uses the image dissection logic to find the root partition. It's also
based on the GPT efi var telling us about the root disk, but instead of
just picking some suitable root disk manually it uses the dissection
logic.

This is a big step forward, since it means we can actually make
use of the image policy logic for the root fs too.
src/gpt-auto-generator/gpt-auto-generator.c
src/shared/generator.c
src/shared/generator.h