mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-10 07:05:51 +00:00
tests: also verify dm_mod kernel module loads for erofs integrity mode
This commit is contained in:
committed by
GitHub
parent
4dda9a2cee
commit
12c6df2d56
@@ -622,6 +622,11 @@ function deploy_k8s() {
|
||||
sudo modprobe dm-verity
|
||||
|
||||
# Verify modules loaded successfully
|
||||
if [[ ! -d /sys/module/dm_mod ]]; then
|
||||
>&2 echo "ERROR: dm_mod kernel module not available after modprobe"
|
||||
>&2 echo "dm-verity support requires dm-mod and dm-verity kernel modules"
|
||||
exit 1
|
||||
fi
|
||||
if [[ ! -d /sys/module/dm_verity ]]; then
|
||||
>&2 echo "ERROR: dm_verity kernel module not available after modprobe"
|
||||
>&2 echo "dm-verity support requires dm-mod and dm-verity kernel modules"
|
||||
|
||||
Reference in New Issue
Block a user