summaryrefslogtreecommitdiff
path: root/units/initrd-parse-etc.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/initrd-parse-etc.service.in')
-rw-r--r--units/initrd-parse-etc.service.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/units/initrd-parse-etc.service.in b/units/initrd-parse-etc.service.in
index 5ac7a24bb0..fe0e860150 100644
--- a/units/initrd-parse-etc.service.in
+++ b/units/initrd-parse-etc.service.in
@@ -21,7 +21,9 @@ OnFailureJobMode=replace-irreversibly
[Service]
Type=oneshot
-ExecStart={{ROOTLIBEXECDIR}}/systemd-sysroot-fstab-check
+# FIXME: once dracut is patched to install the symlink, change to:
+# ExecStart={{ROOTLIBEXECDIR}}/systemd-sysroot-fstab-check
+ExecStart=@{{SYSTEM_GENERATOR_DIR}}/systemd-fstab-generator systemd-sysroot-fstab-check
# We want to enqueue initrd-cleanup.service/start after we finished the part
# above. It can't be part of the initial transaction, because non-oneshot units