mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
targets/qemu.mk: Fix skip-if-exist in swtpm_setup
Commit 46cad549
("WiP flake.nix: make docker image usable for...")
added 'root' to the swtpm_setup call, but broke skip-if-exist because
the flags are supposed to be comma-separated. swtpm_setup was ignoring
skip-if-exist and would fail if the config files exist.
Put a comma there so it works again.
Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
de0bc7517e
commit
e32a417ed1
@ -16,7 +16,7 @@ endif
|
||||
|
||||
ifeq "$(CONFIG_TPM2_TSS)" "y"
|
||||
SWTPM_TPMVER := --tpm2
|
||||
SWTPM_PRESETUP := swtpm_setup --create-config-files root skip-if-exist
|
||||
SWTPM_PRESETUP := swtpm_setup --create-config-files root,skip-if-exist
|
||||
else
|
||||
# TPM1 is the default
|
||||
SWTPM_TPMVER :=
|
||||
|
Loading…
Reference in New Issue
Block a user