1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 # This file is part of systemd.
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
11 Description=Mountpoints Configured in the Real Root
12 AssertPathExists=/etc/initrd-release
14 DefaultDependencies=no
15 Requires=initrd-root-fs.target
16 After=initrd-root-fs.target
18 Conflicts=emergency.target
20 OnFailure=emergency.target
21 OnFailureJobMode=replace-irreversibly
23 # We want to enqueue initrd-cleanup.service/start after we finished the part
24 # below. It can't be part of the initial transaction, because non-oneshot units
25 # use Conflicts=initrd-cleanup.service to be terminated before we switch root.
26 # Effectively, initrd-parse-etc.service acts as a synchronization point after
27 # which cleanup of the initrd processes starts.
28 OnSuccess=initrd-cleanup.service
32 ExecStart={{LIBEXECDIR}}/systemd-sysroot-fstab-check