Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TPM2-TSS Release 3.1 and Minor Fixes #40

Merged
2 commits merged into from
Jul 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,6 @@ sudo add-apt-repository \
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io

echo "Install docker"

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"

sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io


echo "Install ScyllaDB"

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5e08fbd8b5d6ec9c
Expand Down Expand Up @@ -142,9 +129,10 @@ sudo apt -y install \
libcurl4-openssl-dev \
acl

git clone https://github.com/tpm2-software/tpm2-tss.git $INSTALL_DIR/tpm2-tss
cd $INSTALL_DIR/tpm2-tss
./bootstrap
cd $INSTALL_DIR
wget https://github.com/tpm2-software/tpm2-tss/releases/download/3.1.0/tpm2-tss-3.1.0.tar.gz
tar -xf tpm2-tss-3.1.0.tar.gz --one-top-level=tpm2-tss --strip-components 1
rm tpm2-tss-3.1.0.tar.gz && cd tpm2-tss
./configure --with-udevrulesdir=/etc/udev/rules.d
make -j$(nproc)

Expand Down