5 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
Mikaël Cluseau b1bee39653 more seed fetching options 2026-04-22 10:11:47 +02:00
Mikaël Cluseau 2e87e4d92f chore: Release dkl version 1.2.0 2026-04-17 19:14:57 +02:00
Mikaël Cluseau b58c9fbeb5 build-dist: locked 2026-04-17 19:14:21 +02:00
5 changed files with 11 additions and 5 deletions
Generated
+1 -1
View File
@@ -310,7 +310,7 @@ dependencies = [
[[package]] [[package]]
name = "dkl" name = "dkl"
version = "1.1.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.1.0" version = "1.2.1"
edition = "2024" edition = "2024"
[profile.release] [profile.release]
+1 -1
View File
@@ -1 +1 @@
cargo install --path . --root dist cargo install --locked --path . --root dist
+6
View File
@@ -250,4 +250,10 @@ pub struct Bootstrap {
pub dev: String, pub dev: String,
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
pub seed: Option<String>, pub seed: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub seed_ca: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub seed_servername: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub seed_proxy: Option<String>,
} }
+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 {