All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tadeusz Struk <tadeusz.struk at intel.com>
To: tpm2@lists.01.org
Subject: [tpm2] Re: default TCTI name - how to compile the default as tabrmd
Date: Wed, 13 May 2020 11:20:26 -0700	[thread overview]
Message-ID: <33d2366d-df82-7c23-8e78-f6f776214641@intel.com> (raw)
In-Reply-To: 19cfb77a-869b-62bc-0f5e-d4d32a41f570@oracle.com

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

On 5/13/20 9:20 AM, ted.h.kim(a)oracle.com wrote:
> Folks,
> 
> After I built the tools, I found that the default TCTI was device rather
> than the tabrmd.
> 
> # tpm2_getcap -v
> tool="tpm2_getcap" version="4.1.2-rc0" tctis="libtss2-tctildr"
> tcti-default=tcti-device
> 
> But what I think I want is that the tcti-default=tabrmd.
> 
> I know about the -T option and the TPM2TOOLS_TCTI environment variable.
> But can I just compile it to have it default to tabrmd?
> Is this some "configure" option or something?
> How do I change how it compiles?

This can be done by setting a symbolic link libts2-tcti-default.so
pointing to libts2-tcti-tabrmd.so

# ln -s /usr/lib/libts2-tcti-tabrmd.so /usr/lib/libts2-tcti-default.so


-- 
Tadeusz

             reply	other threads:[~2020-05-13 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 18:20 Tadeusz Struk [this message]
2020-05-13 19:01 [tpm2] Re: default TCTI name - how to compile the default as tabrmd Roberts, William C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33d2366d-df82-7c23-8e78-f6f776214641@intel.com \
    --to=tpm2@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.