mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-26 23:19:29 +02:00
parent
01969aa524
commit
416c829d2f
@ -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)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user