mirror of
				https://git.code.sf.net/p/linux-ima/ima-evm-utils
				synced 2025-10-31 05:00:41 +01:00 
			
		
		
		
	travis: download, compile, and install a swTPM
Verifying the "boot_aggregate" requires reading the TPM PCRs for each of the TPM banks. In test environments without a physical TPM, a software TPM may be used. Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
		| @@ -11,6 +11,8 @@ addons: | ||||
|    - xsltproc | ||||
|    - docbook-xsl | ||||
|    - docbook-xml | ||||
| install: | ||||
|    - ./tests/install-swtpm.sh | ||||
| script: | ||||
|    - autoreconf -i && ./configure && make -j$(nproc) && sudo make install && VERBOSE=1 make check TESTS="ima_hash.test sign_verify.test"; | ||||
|  | ||||
|   | ||||
							
								
								
									
										11
									
								
								tests/install-swtpm.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								tests/install-swtpm.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| set -ex | ||||
| wget https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1332.tar.gz/download | ||||
| mkdir ibmtpm1332 | ||||
| cd ibmtpm1332 | ||||
| tar -xvzf ../download | ||||
| cd src | ||||
| make -j$(nproc) | ||||
| sudo cp tpm_server /usr/local/bin/ | ||||
| cd ../.. | ||||
		Reference in New Issue
	
	Block a user
	 Mimi Zohar
					Mimi Zohar