Skip to content

Commit

Permalink
profiles: Enable TPM2 support in systemd
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pothos committed Mar 27, 2024
1 parent 27065b0 commit 0fa005d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_packages
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fa005d

Please sign in to comment.