Revert "initrd-parse-etc: override argv[0] to avoid dracut issue"

This reverts commit db5276215a.

dracut is patched since https://github.com/dracutdevs/dracut/commit/23684e4a,
and this commit is included in the latest dracut-059 release.
This commit is contained in:
Antonio Alvarez Feijoo
2024-01-11 10:41:30 +00:00
committed by Luca Boccassi
parent e992753e58
commit 1c585a4ccd
+1 -3
View File
@@ -23,9 +23,7 @@ OnFailureJobMode=replace-irreversibly
[Service]
Type=oneshot
# FIXME: once dracut is patched to install the symlink, change to:
# ExecStart={{LIBEXECDIR}}/systemd-sysroot-fstab-check
ExecStart=@{{SYSTEM_GENERATOR_DIR}}/systemd-fstab-generator systemd-sysroot-fstab-check
ExecStart={{LIBEXECDIR}}/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