summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-07-02 15:35:39 +0200
committerLennart Poettering <lennart@poettering.net>2021-07-02 18:28:32 +0200
commitda636b67a624bfb4221375cb9cc5e1fdea166832 (patch)
treea04b5392a437c19fd1c350640bc1fae2c14f7003 /units
parent6d8be376e1682a79f0aecceb2136884c5b4327e2 (diff)
downloadsystemd-da636b67a624bfb4221375cb9cc5e1fdea166832.tar.gz
udev: when booting without root= specification, and searching a root partition actually do the version comparison magic
Since 08fe0a53869f27a9bfbc5bd31f27058145d46745 when dissecting a disk image we'll automatically pick the "newest" root fs if multiple exist, by comparing GPT partition labels. This works in systemd-nspawn, systemd-dissect, systemd-tmpfiles --image, … and so on. It also works already in systemd-gpt-auto-generator. However, there was one missing place: in the logic that automatically finds a root fs in case no root= was specified on the kernel logic at all. This logic doesn't use the dissection logic, but a much simpler one. Let's fill the gap, and implement it there too.
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions