mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-01 22:50:54 +00:00
Replace the agent's inline devicemapper implementation with the libs kata-types::dmverity module. The agent's devicemapper Cargo feature now forwards to kata-types/devicemapper, removing the direct libdevmapper link dependency from the agent crate. Gate all dm-verity imports, constants, and call sites behind libdevmapper. Add USE_DEVMAPPER Makefile variable (default no) that appends the devicemapper feature flag and forces LIBC=gnu when enabled. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>