]> git.ipfire.org Git - thirdparty/systemd.git/commit
Generate systemd-fsck-root.service in the initramfs
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 6 May 2015 05:09:53 +0000 (01:09 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 10 May 2015 17:17:57 +0000 (13:17 -0400)
commit4dda4e637e4c17a14db6cd265f36f5e8a5050367
tree3d0bc2083fbce339adf9bca64a59bc8c42cc653d
parent7703bd4d2874a6becc2be60e284c4a547c28320b
Generate systemd-fsck-root.service in the initramfs

In the initrafms, generate a systemd-fsck-root.service to replace
systemd-fsck@<sysroot-device>.service. This way, after we transition
to the real root, systemd-fsck-root.service is marked as already done.

This introduces an unnecessary synchronization point, because
systemd-fsck@* is ordered after systemd-fsck-root also in the
initramfs. In practice this shouldn't be a problem.

https://bugzilla.redhat.com/show_bug.cgi?id=1201979

C.f. 956eaf2b8d6c9999024705ddadc7393bc707de02.
TODO
src/shared/generator.c