mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-12-31 20:04:02 +00:00
According to the XDG spec, https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html: "If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used." This fixes setting up a TPM with libvirt running in a user session. It works by checking if configuration files are readable in the directory priority order (XDG_CONFIG_HOME, then HOME, then SYSCONFDIR). When libvirt is running as a system instance, $HOME isn't set, so it will fall back on @SYSCONFDIR@ (/etc usually) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| swtpm-create-tpmca | ||
| swtpm-localca.conf.in | ||
| swtpm-localca.in | ||
| swtpm-localca.options | ||