Skip to content

Commit 7c7e176

Browse files
committed
boot_service.rs: fix wrong dm-verity kernel module name
Signed-off-by: Kun Lai <[email protected]>
1 parent 9e883a8 commit 7c7e176

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/boot_service/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ async fn setup_rootfs_dm_verity(root_hash: &str, lower_dm_device: &str) -> Resul
532532
async {
533533
tokio::task::spawn_blocking(|| {
534534
liblmod::modprobe(
535-
"dm_verity".to_string(),
535+
"dm-verity".to_string(),
536536
"".to_string(),
537537
liblmod::Selection::Current,
538538
)
@@ -542,7 +542,7 @@ async fn setup_rootfs_dm_verity(root_hash: &str, lower_dm_device: &str) -> Resul
542542
}
543543
Ok(())
544544
})
545-
.context("Failed to load kernel module 'dm_verity'")
545+
.context("Failed to load kernel module 'dm-verity'")
546546
})
547547
.await??;
548548

0 commit comments

Comments
 (0)