diff --git a/libcitadel/src/resource.rs b/libcitadel/src/resource.rs index 5d744ba..826d530 100644 --- a/libcitadel/src/resource.rs +++ b/libcitadel/src/resource.rs @@ -192,7 +192,7 @@ impl ResourceImage { util::create_dir(mount_path)?; - util::mount(verity_path, mount_path, None)?; + util::mount(verity_path, mount_path, Some("-t ext4"))?; Ok(ResourceMount::new_verity(mount_path, verity_dev)) } @@ -270,7 +270,7 @@ impl ResourceImage { util::create_dir(mount_path)?; - util::mount(&loopdev.device_str(), mount_path, Some("-oro"))?; + util::mount(&loopdev.device_str(), mount_path, Some("-oro -t ext4"))?; Ok(ResourceMount::new_loop(mount_path, loopdev)) }