File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed
Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,5 @@ for service in "tpm_emulator.service" "ima_emulator.service"; do
2121 systemctl enable ${service}
2222done
2323
24+ systemctl daemon-reload
2425systemctl start ima_emulator.service
Original file line number Diff line number Diff line change @@ -508,21 +508,6 @@ if [[ "$TPM_SOCKET" -eq "1" ]] ; then
508508 popd # tpm/swtpm2
509509fi
510510
511- if [[ " $TPM_SOCKET " -eq " 1" ]] ; then
512- pushd scripts
513-
514- # Ensure everything is executable
515- chmod +x init_tpm_server
516- chmod +x tpm_serverd
517-
518- # Install scripts
519- install -c tpm_serverd /usr/local/bin/tpm_serverd
520- install -c init_tpm_server /usr/local/bin/init_tpm_server
521-
522- # Clear TPM on first use
523- init_tpm_server
524- fi
525-
526511
527512# Install keylime
528513echo
@@ -587,9 +572,6 @@ if [[ "$TPM_SOCKET" -eq "1" ]] ; then
587572 # starts emulator and IMA stub at boot
588573 cd $KEYLIME_DIR /ima_stub_service
589574 ./installer.sh
590- if [[ -n " $( command -v service) " ]] ; then
591- service tpm_emulator restart
592- fi
593575
594576 echo " =================================================================================="
595577 echo $' \t WARNING: Please set the env var for accessing the TPM:'
You can’t perform that action at this time.
0 commit comments