Remove compression (fix #16)

Even lzo causes troubles
This commit is contained in:
Roey Darwish Dror 2018-11-21 15:12:15 +02:00
parent 01969aa524
commit 416c829d2f

View File

@ -129,7 +129,7 @@ fn create(command: CreateCommand) -> Result<(), Error> {
&PathBuf::from(&root_partition), &PathBuf::from(&root_partition),
&mount_point.path(), &mount_point.path(),
Filesystem::Btrfs, Filesystem::Btrfs,
Some("compress=lzo"), None,
).context(ErrorKind::Mounting)?; ).context(ErrorKind::Mounting)?;
fs::create_dir(&boot_point).context(ErrorKind::CreateBoot)?; fs::create_dir(&boot_point).context(ErrorKind::CreateBoot)?;
@ -223,7 +223,7 @@ fn chroot(command: ChrootCommand) -> Result<(), Error> {
&root_partition, &root_partition,
&mount_point.path(), &mount_point.path(),
Filesystem::Btrfs, Filesystem::Btrfs,
Some("compress=lzo"), None,
).context(ErrorKind::Mounting)?; ).context(ErrorKind::Mounting)?;
let boot_partition = disk.partition_device_path(2)?; let boot_partition = disk.partition_device_path(2)?;