chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build-sys: don't hard-code binary paths in initrd-*.service
[elogind.git]
/
units
/
initrd-switch-root.service.in
diff --git
a/units/initrd-switch-root.service
b/units/initrd-switch-root.service.in
similarity index 88%
rename from
units/initrd-switch-root.service
rename to
units/initrd-switch-root.service.in
index e076b391debc8356bbdbb93e3f9f4284583230b2..6740264149f7883c9089a015baf27115154028fc 100644
(file)
--- a/
units/initrd-switch-root.service
+++ b/
units/initrd-switch-root.service.in
@@
-15,5
+15,5
@@
AllowIsolate=yes
[Service]
Type=oneshot
# we have to use "--force" here, otherwise systemd would umount /run
-ExecStart=
/usr/bin
/systemctl --no-block --force switch-root /sysroot
+ExecStart=
@rootbindir@
/systemctl --no-block --force switch-root /sysroot
KillMode=none