mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-26 23:19:29 +02:00
Add debug log
This commit is contained in:
parent
35ffccc352
commit
5f30a38b4a
@ -153,6 +153,7 @@ fn create(command: CreateCommand) -> Result<(), Error> {
|
|||||||
|
|
||||||
let root_partition = block_device.partition_device_path(3)?;
|
let root_partition = block_device.partition_device_path(3)?;
|
||||||
let encrypted_root = if let Some(cryptsetup) = &cryptsetup {
|
let encrypted_root = if let Some(cryptsetup) = &cryptsetup {
|
||||||
|
info!("Encrypting the root filesystem");
|
||||||
EncryptedDevice::prepare(&cryptsetup, &root_partition)?;
|
EncryptedDevice::prepare(&cryptsetup, &root_partition)?;
|
||||||
Some(EncryptedDevice::open(
|
Some(EncryptedDevice::open(
|
||||||
cryptsetup,
|
cryptsetup,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user