Debian Codegraph @

units/systemd-confext-sysroot.service

raw symbols SCIP
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 #
3 # This file is part of systemd.
4 #
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.
9
10 [Unit]
11 Description=Merge System Configuration Images into /sysroot/etc/
12 Documentation=man:systemd-confext-sysroot.service(8)
13
14 ConditionCapability=CAP_SYS_ADMIN
15 ConditionDirectoryNotEmpty=|/sysroot/var/lib/confexts
16 ConditionDirectoryNotEmpty=|/sysroot/usr/local/lib/confexts
17 ConditionDirectoryNotEmpty=|/sysroot/usr/lib/confexts
18 ConditionPathExists=/etc/initrd-release
19 ConditionKernelCommandLine=!systemd.confext=0
20
21 DefaultDependencies=no
22 Conflicts=shutdown.target
23 Before=initrd-root-fs.target shutdown.target
24 Wants[email protected] modprobe@dm_mod.service
25 After[email protected] modprobe@dm_mod.service sysroot.mount sysroot-usr.mount systemd-volatile-root.service
26
27 [Service]
28 Type=oneshot
29 RemainAfterExit=yes
30 ExecStart=systemd-confext --root=/sysroot refresh
31
32 [Install]
33 WantedBy=initrd.target