Robbie, in that case why are changes to initramfs-tools required to implement this? The initramfs hook itself should figure out whether to run - initramfs-tools can't know, when building the initramfs, whether a filesystem check will be required since that's decided at boot.
The encrypted fs use case can be detected at initramfs build time, but that's not the only use case.
Robbie, in that case why are changes to initramfs-tools required to implement this? The initramfs hook itself should figure out whether to run - initramfs-tools can't know, when building the initramfs, whether a filesystem check will be required since that's decided at boot.
The encrypted fs use case can be detected at initramfs build time, but that's not the only use case.