summaryrefslogtreecommitdiffstatshomepage
path: root/etc/initcpio/install
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-30 08:54:59 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-30 08:54:59 +0100
commitc1f7133be790a972400ba63ca40f92ed699d216e (patch)
tree12e36f95ff1e87998c1028a6e2c3242cad32aa3a /etc/initcpio/install
parent76db86a22a23ccfed07d6160cfdab4ef60067ef0 (diff)
downloaddotfiles-c1f7133be790a972400ba63ca40f92ed699d216e.tar.gz
dotfiles-c1f7133be790a972400ba63ca40f92ed699d216e.tar.bz2
dotfiles-c1f7133be790a972400ba63ca40f92ed699d216e.zip
Enable signed initrd and NvPCR measurements
Diffstat (limited to 'etc/initcpio/install')
-rw-r--r--etc/initcpio/install/nvpcr14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/initcpio/install/nvpcr b/etc/initcpio/install/nvpcr
new file mode 100644
index 0000000..2fbc4ec
--- /dev/null
+++ b/etc/initcpio/install/nvpcr
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+build() {
+ # mkinitcpio 42 does not include these systemd 262 initrd services.
+ map add_systemd_unit \
+ systemd-tpm2-setup-early.service \
+ systemd-pcrnvdone.service \
+ systemd-pcrextend.socket \
+ systemd-pcrextend@.service
+}
+
+help() {
+ echo 'Include systemd NvPCR initialization and PCR extension services.'
+}