Skip to content

Commit

Permalink
Merge pull request #51 from self-five/tpm
Browse files Browse the repository at this point in the history
Add `swtpm` package for easier TPM usage
  • Loading branch information
tianon authored Nov 21, 2024
2 parents 36643f0 + 39584f5 commit b422a94
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 7.2/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 7.2/Dockerfile.native

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 8.2/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 8.2/Dockerfile.native

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 9.0/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 9.0/Dockerfile.native

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 9.1/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 9.1/Dockerfile.native

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 9.2-rc/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions 9.2-rc/Dockerfile.native

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ RUN set -eux; \
riscv64: "opensbi u-boot-qemu",
# TODO add u-boot-qemu to more arches? https://packages.debian.org/bookworm/u-boot-qemu
} -}}
# include "swtpm" for TPM emulation -- not automatically launched, but small and useful for running a TPM sidecar container (https://qemu-project.gitlab.io/qemu/specs/tpm.html#the-qemu-tpm-emulator-device)
apt-get install -y --no-install-recommends swtpm; \
# install "firmware" packages (easier UEFI, etc)
{{ if env.variant == "native" then ( -}}
arch="$(dpkg --print-architecture)"; \
case "$arch" in \
Expand Down

0 comments on commit b422a94

Please sign in to comment.