summaryrefslogtreecommitdiffstats
path: root/units/systemd-pcrphase-initrd.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-09-25 10:38:01 +0200
committerLennart Poettering <lennart@poettering.net>2023-09-25 17:17:20 +0200
commit32295fa08f35d8c0b86c5faa03d7c818d3a9353f (patch)
treed3699903066a58b1a9b8640a89c617e37b210db9 /units/systemd-pcrphase-initrd.service.in
parenttest: enable debug logs for the user instances as well (diff)
downloadsystemd-32295fa08f35d8c0b86c5faa03d7c818d3a9353f.tar.xz
systemd-32295fa08f35d8c0b86c5faa03d7c818d3a9353f.zip
pcrphase: rename binary to pcrextend
The tool initially just measured the boot phase, but was subsequently extended to measure file system and machine IDs, too. At AllSystemsGo there were request to add more, and make the tool generically accessible. Hence, let's rename the binary (but not the pcrphase services), to make clear the tool is not just measureing the boot phase, but a lot of other things too. The tool is located in /usr/lib/ and still relatively new, hence let's just rename the binary and be done with it, while keeping the unit names stable. While we are at it, also move the tool out of src/boot/ and into its own src/pcrextend/ dir, since it's not really doing boot related stuff anymore.
Diffstat (limited to 'units/systemd-pcrphase-initrd.service.in')
-rw-r--r--units/systemd-pcrphase-initrd.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-pcrphase-initrd.service.in b/units/systemd-pcrphase-initrd.service.in
index 69dcbceaac..357c7c5869 100644
--- a/units/systemd-pcrphase-initrd.service.in
+++ b/units/systemd-pcrphase-initrd.service.in
@@ -20,5 +20,5 @@ ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-4
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart={{LIBEXECDIR}}/systemd-pcrphase --graceful enter-initrd
-ExecStop={{LIBEXECDIR}}/systemd-pcrphase --graceful leave-initrd
+ExecStart={{LIBEXECDIR}}/systemd-pcrextend --graceful enter-initrd
+ExecStop={{LIBEXECDIR}}/systemd-pcrextend --graceful leave-initrd