firstboot: Populate XKBLAYOUT and friends as well in vconsole.conf (#36275)
[systemd.io.git] / units / breakpoint-pre-mount.service.in
blob55551dbbf2d8926b3071ee7c3d7f040a73bbfe35
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.
10 [Unit]
11 Description=Breakpoint Before Mounting the Root Filesystem on /sysroot/
12 Documentation=man:systemd-debug-generator(8)
13 AssertPathExists=/etc/initrd-release
14 DefaultDependencies=no
15 RefuseManualStart=yes
16 Conflicts=shutdown.target emergency.target
17 After=basic.target systemd-vconsole-setup.service
18 Before=initrd-root-fs.target sysroot.mount systemd-fsck-root.service shutdown.target emergency.target
20 [Service]
21 Environment=SHELL_PROMPT_PREFIX="pre-mount "
22 Type=oneshot
23 ExecStartPre=-plymouth --wait quit
24 # Execute shell with "-" prefix to not consider the unit failed if it exits with
25 # a non-zero value
26 ExecStart=-{{SUSHELL}}
27 StandardInput=tty-force
28 StandardOutput=inherit
29 StandardError=inherit
30 KillMode=process
31 IgnoreSIGPIPE=no
32 # bash ignores SIGTERM
33 KillSignal=SIGHUP
35 # Unset locale for the console getty since the console has problems
36 # displaying some internationalized messages.
37 UnsetEnvironment=LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION