Última atividade 1 month ago

Software TPM2 Ubuntu 20.04

racerxdl's Avatar Lucas Teske revisou este gist 4 years ago. Ir para a revisão

1 file changed, 24 insertions

readme.md(arquivo criado)

@@ -0,0 +1,24 @@
1 + ```bash
2 + git clone https://github.com/stefanberger/libtpms/
3 + sudo apt-get -y install automake autoconf libtool gcc build-essential libssl-dev dh-exec pkg-config dh-autoreconf
4 + ./autogen.sh --with-openssl
5 + make dist
6 + dpkg-buildpackage -us -uc -j4
7 + # Install the library and development packages
8 + cd ..
9 + sudo dpkg -i libtpms_0.x.y-z..._amd64.deb libtpms-dev_0.x.y-z..._amd64.deb
10 + ```
11 +
12 + swtpm
13 + ```bash
14 + sudo apt install devscripts git equivs
15 +
16 + git clone https://github.com/stefanberger/swtpm.git
17 +
18 + cd swtpm
19 + sed -i 's/SWTPM_TEST_SECCOMP_OPT.*$/SWTPM_TEST_SECCOMP_OPT=""/' ./debian/rules
20 + sudo mk-build-deps --install ./debian/control
21 + debuild -b
22 + sudo apt autoremove swtpm-build-deps
23 + sudo apt install ../swtpm*.deb
24 + ```
Próximo Anterior