Skip to content

Commit

Permalink
Allow testing tpm1 pin in CI build
Browse files Browse the repository at this point in the history
CentOS 9+ is intentionally omitted, because the TPM 1.2 has been removed
from swtpm, see [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1990153
  • Loading branch information
oldium committed Oct 1, 2024
1 parent 3f8c2f4 commit e0bc1af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/install-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ debian:*|ubuntu:*)
while ! apt-get -y install ${COMMON} \
build-essential pkg-config libssl-dev libjansson-dev libjose-dev \
luksmeta libluksmeta-dev libpwquality-tools libglib2.0-dev \
libudisks2-dev libaudit-dev systemd opensc pcscd libsofthsm2-dev; do
libudisks2-dev libaudit-dev systemd opensc pcscd libsofthsm2-dev \
swtpm-tools tpm-tools; do
sleep 5
done
;;
Expand All @@ -33,7 +34,7 @@ debian:*|ubuntu:*)
dnf -y clean all
dnf -y --setopt=deltarpm=0 update
dnf -y install dnf-utils jq socat cryptsetup keyutils cracklib-dicts lsof \
opensc pcsc-lite softhsm
opensc pcsc-lite softhsm swtpm-tools tpm-tools trousers
command -v dnf5 && dnf5 -y install dnf5-command\(builddep\) \
|| dnf -y install dnf-command\(builddep\)
dnf -y builddep clevis
Expand Down

0 comments on commit e0bc1af

Please sign in to comment.