1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-08-16 11:04:39 +02:00

travis: support tpm2-tss

Running the "boot_aggregate" test without a physical TPM, requires
installing and initializing a software TPM.  For now, use the same
method of initializing the TPM, based on the IBM tss, for both the
IBM and Intel's tss.

Build both the IBM and INTEL's tss.

Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
Mimi Zohar
2020-07-31 14:24:07 -04:00
parent f2fe592907
commit 3ff5d99edc
2 changed files with 35 additions and 1 deletions

19
tests/install-tpm2-tss.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
git clone https://github.com/tpm2-software/tpm2-tss.git
cd tpm2-tss
./bootstrap
./configure
make -j$(nproc)
sudo make install
sudo ldconfig
cd ..
rm -rf tpm2-tss
git clone https://github.com/tpm2-software/tpm2-tools.git
cd tpm2-tools
./bootstrap && ./configure --prefix=/usr
make -j$(nproc)
sudo make install
cd ..
rm -rf tpm2-tools