Skip to content

Commit 15de723

Browse files
committed
install: use fsfreeze, not xfs_freeze
More people are going to have util-linux installed than have xfsprogs. Reported via email. Signed-off-by: Colin Walters <[email protected]>
1 parent 10f1c07 commit 15de723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ pub(crate) fn finalize_filesystem(fs: &Utf8Path) -> Result<()> {
670670
.run()?;
671671
// Finally, freezing (and thawing) the filesystem will flush the journal, which means the next boot is clean.
672672
for a in ["-f", "-u"] {
673-
Task::new("Flushing filesystem journal", "xfs_freeze")
673+
Task::new("Flushing filesystem journal", "fsfreeze")
674674
.quiet()
675675
.args([a, fs.as_str()])
676676
.run()?;

0 commit comments

Comments
 (0)