fsck: skip root fsck if dracut already did it

This commit is contained in:
Lennart Poettering 2011-02-14 11:42:47 +01:00
parent cfdc0c8941
commit 7a57b332d0
2 changed files with 5 additions and 0 deletions

2
TODO
View File

@ -7,6 +7,8 @@ Bugs:
* fsck.btrfs non-existance should not cause mounting to fail
* single user service needs to be masked?
Features:
* Maybe store in unit files whether a service should be enabled by default on package installation

View File

@ -11,6 +11,9 @@ DefaultDependencies=no
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=local-fs.target shutdown.target remount-rootfs.service quotacheck.service
# Dracut informs us with this flag file if the root fsck was already run
ConditionPathExists=!/dev/.initramfs/fsck
[Service]
Type=oneshot
RemainAfterExit=no