From 00e948e3adcf1a7e5cdf077d45979fa544b2f990 Mon Sep 17 00:00:00 2001 From: Dhanuka Warusadura Date: Thu, 8 Jul 2021 15:15:53 +0530 Subject: [PATCH] Add --allow-root flag to tpm2-abrmd CI script --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82881c1..888fef7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ fedora:Werror: - swtpm_setup --tpm2 --tpmstate $XDG_CONFIG_HOME/mytpm1 --createek --allow-signing --decryption --create-ek-cert --create-platform-cert --lock-nvram --overwrite --display - swtpm socket --tpm2 --tpmstate dir=$XDG_CONFIG_HOME/mytpm1 --flags startup-clear --ctrl type=tcp,port=2322 --server type=tcp,port=2321 --daemon - eval `dbus-launch --sh-syntax` - - 'tpm2-abrmd --logger=stdout --tcti=swtpm: --session --flush-all &' + - 'tpm2-abrmd --logger=stdout --tcti=swtpm: --session --allow-root --flush-all &' - 'export TCTI=tabrmd:bus_type=session' - meson _build -Dwerror=true -Dc_args=-Wno-error=deprecated-declarations - meson test -C _build