1
# This file is part of systemd.
3
# systemd is free software; you can redistribute it and/or modify it
4
# under the terms of the GNU Lesser General Public License as published by
5
# the Free Software Foundation; either version 2.1 of the License, or
6
# (at your option) any later version.
9
Description=Switch Root
10
DefaultDependencies=no
11
ConditionPathExists=/etc/initrd-release
12
OnFailure=emergency.target
17
# we have to use "--force" here, otherwise systemd would umount /run
18
ExecStart=/usr/bin/systemctl --no-block --force switch-root /sysroot