diff mbox series

[1/3] test-appliance: enable verity for testing overlay over ext4

Message ID 20230625135033.3205742-2-amir73il@gmail.com (mailing list archive)
State New, archived
Headers show
Series fstests-bld overlayfs updates | expand

Commit Message

Amir Goldstein June 25, 2023, 1:50 p.m. UTC
Add -O verity for ext4 formatted for overlay tests, so that overlay
verity feature could be tested.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
---
 test-appliance/files/root/fs/overlay/config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/test-appliance/files/root/fs/overlay/config b/test-appliance/files/root/fs/overlay/config
index 7c50b19..f252a70 100644
--- a/test-appliance/files/root/fs/overlay/config
+++ b/test-appliance/files/root/fs/overlay/config
@@ -55,7 +55,7 @@  function __mkfs()
 
 	case "$BASE_FSTYPE" in
 	    ext4)
-		/sbin/mke2fs -F -q -t ext4 "$dev"
+		/sbin/mke2fs -F -q -t ext4 -O verity "$dev"
 		;;
 	    xfs)
 		mkfs.xfs -f -m rmapbt=1,reflink=1 "$dev"