units: use relative path

This commit is contained in:
Yu Watanabe 2024-03-09 02:08:50 +09:00
parent e48c170f51
commit 7b799b870f
5 changed files with 6 additions and 6 deletions

View file

@ -19,7 +19,7 @@ Before=rescue.service
[Service]
Environment=HOME=/root
WorkingDirectory=-/root
ExecStartPre=-{{BINDIR}}/plymouth --wait quit
ExecStartPre=-plymouth --wait quit
ExecStart=-{{LIBEXECDIR}}/systemd-sulogin-shell emergency
Type=idle
StandardInput=tty-force

View file

@ -273,7 +273,7 @@ units = [
'conditions' : ['ENABLE_BOOTLOADER'],
},
{
'file' : 'systemd-bootctl@.service.in',
'file' : 'systemd-bootctl@.service',
'conditions' : ['ENABLE_BOOTLOADER'],
},
{
@ -576,7 +576,7 @@ units = [
{ 'file' : 'systemd-reboot.service' },
{ 'file' : 'systemd-remount-fs.service.in' },
{
'file' : 'systemd-repart.service.in',
'file' : 'systemd-repart.service',
'conditions' : ['ENABLE_REPART'],
'symlinks' : ['sysinit.target.wants/', 'initrd-root-fs.target.wants/'],
},

View file

@ -18,7 +18,7 @@ Before=shutdown.target
[Service]
Environment=HOME=/root
WorkingDirectory=-/root
ExecStartPre=-{{BINDIR}}/plymouth --wait quit
ExecStartPre=-plymouth --wait quit
ExecStart=-{{LIBEXECDIR}}/systemd-sulogin-shell rescue
Type=idle
StandardInput=tty-force

View file

@ -17,4 +17,4 @@ Before=shutdown.target
[Service]
Environment=LISTEN_FDNAMES=varlink
ExecStart={{BINDIR}}/bootctl
ExecStart=bootctl

View file

@ -29,7 +29,7 @@ Before=shutdown.target initrd-switch-root.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart={{BINDIR}}/systemd-repart --dry-run=no
ExecStart=systemd-repart --dry-run=no
# The tool returns 76 if it can't find the root block device
SuccessExitStatus=76