From 8d36882fbd9aaf0ceda5d6e8b357aec54a8e3b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Wed, 22 Apr 2026 15:32:28 +0200 Subject: [PATCH] dynlay: rely on auto-detect fstype --- src/dynlay.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dynlay.rs b/src/dynlay.rs index cb01273..59a663f 100644 --- a/src/dynlay.rs +++ b/src/dynlay.rs @@ -1,4 +1,4 @@ -use eyre::{Result, format_err}; +use eyre::{format_err, Result}; use log::{debug, error, info, warn}; use std::path::PathBuf; use tokio::{fs, io::AsyncWriteExt, process::Command}; @@ -60,7 +60,7 @@ impl<'t> Dynlay<'t> { // mount 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()); while let Some(result) = paths.recv().await {