Skip to content

Commit

Permalink
don't do fstab
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed Sep 8, 2024
1 parent 1652b20 commit ea00683
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,12 @@ fn _inner_sys_setup(uefi: bool, output: RepartOutput) -> Result<()> {
bail!("kernel-install failed with exit code {:?}", kernel_install_cmd_status.code());
}
});
if systemd_version()? <= 256 {
stage!("Generating /etc/fstab..." {
let mut fstab = std::fs::File::create("/etc/fstab")?;
fstab.write_all(output.generate_fstab().as_bytes())?;
});
}
// if systemd_version()? <= 256 {
// stage!("Generating /etc/fstab..." {
// let mut fstab = std::fs::File::create("/etc/fstab")?;
// fstab.write_all(output.generate_fstab().as_bytes())?;
// });
// }

stage!("Regenerating initramfs" {
// We assume the installation wouldn't be used on another system (false only if you install
Expand Down

0 comments on commit ea00683

Please sign in to comment.