From 24eee12c58ebb6ca9638eeee5c59e07a75256c69 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Wed, 21 Nov 2018 15:05:37 +0200 Subject: [PATCH] Replace zstd with lzo (fix #16) For some reason zstd causes Perl installation error --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 27b6966..e6fdcf9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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