meson: use jinja2 for unit templates

We don't need two (and half) templating systems anymore, yay!

I'm keeping the changes minimal, to make the diff manageable. Some enhancements
due to a better templating system might be possible in the future.

For handling of '## ' — see the next commit.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-05-19 10:24:43 +09:00
committed by Yu Watanabe
parent 6b1aac3ccf
commit 059cc610b7
65 changed files with 133 additions and 160 deletions
+4 -4
View File
@@ -8,19 +8,19 @@
# (at your option) any later version.
[Unit]
Description=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY
Description=Early root shell on {{DEBUGTTY}} FOR DEBUGGING ONLY
Documentation=man:systemd-debug-generator(8)
DefaultDependencies=no
IgnoreOnIsolate=yes
ConditionPathExists=@DEBUGTTY@
ConditionPathExists={{DEBUGTTY}}
[Service]
Environment=TERM=linux
ExecStart=@SUSHELL@
ExecStart={{SUSHELL}}
Restart=always
RestartSec=0
StandardInput=tty
TTYPath=@DEBUGTTY@
TTYPath={{DEBUGTTY}}
TTYReset=yes
TTYVHangup=yes
KillMode=process