2 # SPDX-License-Identifier: LGPL-2.1-or-later
3 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
4 # ex: ts=8 sw=4 sts=4 et filetype=sh
7 TEST_DESCRIPTION
="test systemd-dissect"
10 TEST_INSTALL_VERITY_MINIMAL
=1
12 # shellcheck source=test/test-functions
13 .
"${TEST_BASE_DIR:?}/test-functions"
17 command -v mksquashfs
>/dev
/null
2>&1 ||
exit 0
18 command -v veritysetup
>/dev
/null
2>&1 ||
exit 0
19 command -v sfdisk
>/dev
/null
2>&1 ||
exit 0
21 # Need loop devices for systemd-dissect
25 instmods squashfs
=squashfs
26 instmods dm_verity
=md
27 instmods overlay
=overlayfs
29 generate_module_dependencies
32 if command -v openssl
>/dev
/null
2>&1; then
35 install_verity_minimal