summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rwxr-xr-xfs/ext2/genext2fs.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/ext2/genext2fs.sh b/fs/ext2/genext2fs.sh
index 76f454c3c..a4eb35162 100755
--- a/fs/ext2/genext2fs.sh
+++ b/fs/ext2/genext2fs.sh
@@ -73,8 +73,11 @@ e2tunefsck() {
"${IMG##*/}" "${GEN}"
# e2fsck will force a *random* UUID, which is bad
- # for reproducibility, so we do not want it
- tune2fs -U clear "${IMG}"
+ # for reproducibility, so we do not want it.
+ # Remove count- and time-based checks, they are not welcome
+ # on embedded devices, where they can cause serious boot-time
+ # issues by tremendously slowing down the boot.
+ tune2fs -U clear -c 0 -i 0 "${IMG}"
}
# Check we know what generation to generate