]> git.ipfire.org Git - thirdparty/systemd.git/commit
gpt-auto-generator: write fsck override unit to "middle" generator dir
authorLennart Poettering <lennart@poettering.net>
Thu, 20 Mar 2025 09:34:42 +0000 (10:34 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 3 Apr 2025 09:08:57 +0000 (11:08 +0200)
commite5d2701bc211a4c7aead52658835604699b35fe6
treec0925a42560d7bb3bee15a25855d581a787c7dc3
parent96386bb5a75c512fa44a218676770b9655abd4d6
gpt-auto-generator: write fsck override unit to "middle" generator dir

We generally let gpt-auto-generator write to the "late" generator dir,
so that the explicit fstab-generator can write to the "middle" one. And
I think we should leave it that way. But we also want to override the
generic systemd-fsck-root.service service potentially, and if we'd do
that in the "late" generator dir, it would be pointless, since that's
ordered *after* the static version hence would never be taken into
consdiration.

Hence clean this up: keep writing to the late dir for everything,
except for the fsck stuff.
src/gpt-auto-generator/gpt-auto-generator.c