diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-04-28 16:56:39 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-04-28 23:26:20 +0100 |
commit | 5ae89ef34774a777c5af7af48b1ad431d10a425e (patch) | |
tree | 54c2755ddf182ea784e38633b2cc5340a84f1bde /units/systemd-udevd-control.socket | |
parent | 77b7026668cd376744a99881777dce8c2f5da835 (diff) | |
download | systemd-5ae89ef34774a777c5af7af48b1ad431d10a425e.tar.gz |
core/systemctl: when switching root default to /sysroot/
We hardcode the path the initrd uses to prepare the final mount point at
so many places, let's also imply it in "systemctl switch-root" if not
specified.
This adds the fallback both to systemctl and to PID 1 (this is because
both to — different – checks on the path).
Diffstat (limited to 'units/systemd-udevd-control.socket')
0 files changed, 0 insertions, 0 deletions