2 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
3 # ex: ts=8 sw=4 sts=4 et filetype=sh
6 TEST_DESCRIPTION
="test systemd-dissect"
9 TEST_INSTALL_VERITY_MINIMAL
=1
11 # shellcheck source=test/test-functions
12 .
"${TEST_BASE_DIR:?}/test-functions"
16 command -v mksquashfs
>/dev
/null
2>&1 ||
exit 0
17 command -v veritysetup
>/dev
/null
2>&1 ||
exit 0
18 command -v sfdisk
>/dev
/null
2>&1 ||
exit 0
20 # Need loop devices for systemd-dissect
24 instmods squashfs
=squashfs
25 instmods dm_verity
=md
26 instmods overlay
=overlayfs
28 generate_module_dependencies
31 if command -v openssl
>/dev
/null
2>&1; then
34 install_verity_minimal