Move common live functionality to a new layer

This commit is contained in:
Jan Schär 2024-05-11 14:45:55 +02:00
parent ad6548f839
commit dd3c07efb7
10 changed files with 4 additions and 28 deletions

View file

@ -0,0 +1,14 @@
[Unit]
Description=custom configuration of live system during boot.
Before=basic.target
After=local-fs.target systemd-tmpfiles-setup.service
DefaultDependencies=no
ConditionKernelCommandLine=boot=live
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/live-config
[Install]
WantedBy=basic.target