Skip to content

Commit

Permalink
travis: update tcti options for abrmd
Browse files Browse the repository at this point in the history
abrmd has a new dynamic tcti option, update travis to use
it.

Note: --disable-dlclose works around these bugs:
  - tpm2-software/tpm2-abrmd#323
  - 1305825#diff-9a57bc4e2757e72fe020a15ac7775dfa

Signed-off-by: William Roberts <william.c.roberts@intel.com>
  • Loading branch information
William Roberts committed Feb 8, 2018
1 parent 3b3e42c commit ba51845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ install:
- git clone https://github.com/tpm2-software/tpm2-abrmd.git
- pushd tpm2-abrmd
- git am ../.ci/patches/abrmd/* || true
- ./bootstrap && ./configure --with-dbuspolicydir=/etc/dbus-1/system.d && make -j$(nproc) && sudo make install && popd
- ./bootstrap && ./configure --disable-dlclose --with-dbuspolicydir=/etc/dbus-1/system.d && make -j$(nproc) && sudo make install && popd
- sudo mkdir -p /var/lib/tpm
- sudo groupadd tss && sudo useradd -M -d /var/lib/tpm -s /bin/false -g tss tss
- sudo pkill -HUP dbus-daemon
- sudo -u tss tpm2-abrmd --tcti=socket &
- sudo -u tss tpm2-abrmd --tcti=libtcti-socket.so &
- wget http://mirrors.kernel.org/ubuntu/pool/universe/c/cmocka/libcmocka-dev_1.0.1-2_amd64.deb
- wget http://mirrors.kernel.org/ubuntu/pool/universe/c/cmocka/libcmocka0_1.0.1-2_amd64.deb
- sha256sum libcmocka-dev_1.0.1-2_amd64.deb | grep -q edb0dcfa14893b0a03375c4fe3b852043ce8fca8f2397cde340562554f6d50eb
Expand Down

0 comments on commit ba51845

Please sign in to comment.