Skip to content

Commit

Permalink
Use TPM2-TSS Release 3.1 and Minor Fixes (#40)
Browse files Browse the repository at this point in the history
Removed Docker Double Installation
Use TPM2-TSS Release 3.1
  • Loading branch information
dr-chain committed Jul 7, 2021
1 parent e58e520 commit 792a9fc
Showing 1 changed file with 4 additions and 16 deletions.
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

0 comments on commit 792a9fc

Please sign in to comment.