2 Commits

Author SHA1 Message Date
Mikaël Cluseau dca467e21d chore: Release dkl version 1.2.1 2026-04-22 15:33:03 +02:00
Mikaël Cluseau 8d36882fbd dynlay: rely on auto-detect fstype 2026-04-22 15:32:28 +02:00
3 changed files with 4 additions and 4 deletions
Generated
+1 -1
View File
@@ -310,7 +310,7 @@ dependencies = [
[[package]] [[package]]
name = "dkl" name = "dkl"
version = "1.2.0" version = "1.2.1"
dependencies = [ dependencies = [
"async-compression", "async-compression",
"base32", "base32",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dkl" name = "dkl"
version = "1.2.0" version = "1.2.1"
edition = "2024" edition = "2024"
[profile.release] [profile.release]
+2 -2
View File
@@ -1,4 +1,4 @@
use eyre::{Result, format_err}; use eyre::{format_err, Result};
use log::{debug, error, info, warn}; use log::{debug, error, info, warn};
use std::path::PathBuf; use std::path::PathBuf;
use tokio::{fs, io::AsyncWriteExt, process::Command}; use tokio::{fs, io::AsyncWriteExt, process::Command};
@@ -60,7 +60,7 @@ impl<'t> Dynlay<'t> {
// mount layer // mount layer
info!("mounting layer"); info!("mounting layer");
sudo("mount", &["-t", "squashfs", lay_path, &mount_path_str]).await?; sudo("mount", &[lay_path, &mount_path_str]).await?;
let mut paths = spawn_walk_dir(mount_path.clone()); let mut paths = spawn_walk_dir(mount_path.clone());
while let Some(result) = paths.recv().await { while let Some(result) = paths.recv().await {