Blame 0002-fix-systemd-pcrphase-rename-systemd-pcrphase-binary-.patch

ff27f8
From 12f3824a30300154928c3482b02b6e1e63ce8be8 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 6fb020
From: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Zbigniew Jędrzejewski-Szmek 6fb020
Date: Tue, 26 Sep 2023 08:12:23 +0200
ff27f8
Subject: [PATCH 02/10] fix(systemd-pcrphase): rename systemd-pcrphase binary
ff27f8
 to systemd-pcrextend
Zbigniew Jędrzejewski-Szmek 6fb020
Zbigniew Jędrzejewski-Szmek 6fb020
The `systemd-pcrphase` binary has been renamed to `systemd-pcrextend` since
Zbigniew Jędrzejewski-Szmek 6fb020
https://github.com/systemd/systemd/commit/32295fa0
ff27f8
ff27f8
(Cherry-picked 8d9b558939ebdbbbeefbb1cbcd6d6825efc901fb from PR#2526)
Zbigniew Jędrzejewski-Szmek 6fb020
---
Zbigniew Jędrzejewski-Szmek 6fb020
 modules.d/01systemd-pcrphase/module-setup.sh | 4 ++--
Zbigniew Jędrzejewski-Szmek 6fb020
 1 file changed, 2 insertions(+), 2 deletions(-)
Zbigniew Jędrzejewski-Szmek 6fb020
Zbigniew Jędrzejewski-Szmek 6fb020
diff --git a/modules.d/01systemd-pcrphase/module-setup.sh b/modules.d/01systemd-pcrphase/module-setup.sh
ff27f8
index fa960a42..77f05eb7 100755
Zbigniew Jędrzejewski-Szmek 6fb020
--- a/modules.d/01systemd-pcrphase/module-setup.sh
Zbigniew Jędrzejewski-Szmek 6fb020
+++ b/modules.d/01systemd-pcrphase/module-setup.sh
Zbigniew Jędrzejewski-Szmek 6fb020
@@ -6,7 +6,7 @@
Zbigniew Jędrzejewski-Szmek 6fb020
 check() {
Zbigniew Jędrzejewski-Szmek 6fb020
 
Zbigniew Jędrzejewski-Szmek 6fb020
     # If the binary(s) requirements are not fulfilled the module can't be installed.
Zbigniew Jędrzejewski-Szmek 6fb020
-    require_binaries "$systemdutildir"/systemd-pcrphase || return 1
Zbigniew Jędrzejewski-Szmek 6fb020
+    require_binaries "$systemdutildir"/systemd-pcrextend || return 1
Zbigniew Jędrzejewski-Szmek 6fb020
 
Zbigniew Jędrzejewski-Szmek 6fb020
     # Return 255 to only include the module, if another module requires it.
Zbigniew Jędrzejewski-Szmek 6fb020
     return 255
Zbigniew Jędrzejewski-Szmek 6fb020
@@ -27,7 +27,7 @@ depends() {
Zbigniew Jędrzejewski-Szmek 6fb020
 install() {
Zbigniew Jędrzejewski-Szmek 6fb020
 
Zbigniew Jędrzejewski-Szmek 6fb020
     inst_multiple -o \
Zbigniew Jędrzejewski-Szmek 6fb020
-        "$systemdutildir"/systemd-pcrphase \
Zbigniew Jędrzejewski-Szmek 6fb020
+        "$systemdutildir"/systemd-pcrextend \
ff27f8
         "$systemdsystemunitdir"/systemd-pcrphase-initrd.service \
ff27f8
         "$systemdsystemunitdir/systemd-pcrphase-initrd.service.d/*.conf" \
ff27f8
         "$systemdsystemunitdir"/initrd.target.wants/systemd-pcrphase-initrd.service
ff27f8
-- 
ff27f8
2.42.0
ff27f8