summaryrefslogtreecommitdiff
path: root/module-setup-cvm.sh
blob: aa3d908e1db79302299dbf4cf8363d6835851b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later

check() {
    return 0
}

depends() {
    echo tpm2-tss
    return 0
}

install() {
    inst_multiple -o \
        cryptsetup cut mktemp base64 uname hexdump \
        tpm2_flushcontext tpm2_import tpm2_load tpm2_unseal tpm2_create tpm2_createprimary \
        /usr/sbin/tpm2-luks-import.sh /lib/udev/rules.d/90-tpm2-import.rules
}