From 3d0f2c368a0bbbc9d963ddc5060133a10c315806 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Thu, 21 Nov 2024 03:38:25 +0000 Subject: [PATCH] add debugs Signed-off-by: Ramkumar Chinchani --- pkg/verity/verity.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/verity/verity.go b/pkg/verity/verity.go index 0b200fe..a8b3e7c 100644 --- a/pkg/verity/verity.go +++ b/pkg/verity/verity.go @@ -288,6 +288,8 @@ func VerityHostMount(fsImgFile string, fsType string, mountpoint string, rootHas } + fmt.Printf("verity mounting %s -> %s (%s,%s)\n", mountSourcePath, mountpoint, fsType, rootHash) + err = errors.WithStack(unix.Mount(mountSourcePath, mountpoint, fsType, unix.MS_RDONLY, "")) if err != nil { if verityDevice != nil {