profiles: Enable TPM2 support in systemd

We could use systemd-cryptenroll and cryptsetup with a TPM device but
so far the support was not compiled in.
Enable the use flags for TPM2 support in systemd.
This commit is contained in:
Kai Lueke 2024-03-15 20:25:35 +01:00 committed by Kai Lüke
parent 27065b06d3
commit 0fa005d482
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ if [[ "${FLAGS_usepkgonly}" -eq "${FLAGS_FALSE}" ]]; then
break_dep_loop sys-apps/util-linux udev,systemd,cryptsetup \
sys-fs/cryptsetup udev \
sys-fs/lvm2 udev,systemd \
sys-apps/systemd cryptsetup \
sys-apps/systemd cryptsetup,tpm \
net-misc/curl http2 \
net-libs/nghttp2 systemd
fi

View File

@ -29,7 +29,7 @@ app-admin/sudo -sendmail
# disable hybrid cgroup as we use the unified mode now
# use lzma which is the default on non-gentoo systems, enable selinux,
sys-apps/systemd -cgroup-hybrid curl idn lzma selinux
sys-apps/systemd -cgroup-hybrid curl idn lzma selinux tpm
net-libs/libmicrohttpd -ssl
# disable kernel config detection and module building