]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "initrd-parse-etc: override argv[0] to avoid dracut issue"
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 7 Dec 2023 07:29:40 +0000 (08:29 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 11 Jan 2024 10:41:30 +0000 (10:41 +0000)
This reverts commit db5276215ae496074c163fca4014baf1bcd05984.

dracut is patched since https://github.com/dracutdevs/dracut/commit/23684e4a,
and this commit is included in the latest dracut-059 release.

units/initrd-parse-etc.service.in

index 3dadab112360814908e27d2613e66c905b73021f..1eef2bd9be8bc5924da4237475f3563943da6b2c 100644 (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