chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:22:24 +0000 (08:22 +0100)
commitc3de53fc0458742fd0bda777dbb33e3d9c581c37
tree43429a6f994eebb20692da96a52ccda4cbf7b48a
parent63e5146144bb4fd7c8b8d974024f3fe11cc1d841
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.
src/shared/generator.c