Replace zstd with lzo (fix #16)

For some reason zstd causes Perl installation error
This commit is contained in:
Roey Darwish Dror 2018-11-21 15:05:37 +02:00
parent ea44f30d6c
commit 24eee12c58

View File

@ -127,7 +127,7 @@ fn create(command: &CreateCommand) -> Result<(), Error> {
&PathBuf::from(format!("{}-part3", command.disk.display())),
&mount_point.path(),
Filesystem::Btrfs,
Some("compress=zstd"),
Some("compress=lzo"),
).context(ErrorKind::Mounting)?;
fs::create_dir(&boot_point).context(ErrorKind::CreateBoot)?;
@ -230,7 +230,7 @@ fn chroot(command: &ChrootCommand) -> Result<(), Error> {
&PathBuf::from(format!("{}-part3", command.disk.display())),
&mount_point.path(),
Filesystem::Btrfs,
Some("compress=zstd"),
Some("compress=lzo"),
).context(ErrorKind::Mounting)?;
mount_stack