Merge pull request #1745 from JonathonHall-Purism/swtpm_setup_skip_if_exist

targets/qemu.mk: Fix skip-if-exist in swtpm_setup
This commit is contained in:
Thierry Laurion 2024-08-07 11:17:27 -04:00 committed by GitHub
commit d9e5087caa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 :=
@ -111,4 +111,4 @@ run: $(TPMDIR)/.manufacture $(ROOT_DISK_IMG) $(MEMORY_SIZE_FILE) $(USB_FD_IMG)
$(QEMU_USB_TOKEN_DEV) \
stty sane
@echo
@echo