diff mbox series

[isar-cip-core] fixed function names

Message ID DU0PR10MB68985C5E76CCAA886F0334B4F02FA@DU0PR10MB6898.EURPRD10.PROD.OUTLOOK.COM (mailing list archive)
State Superseded
Headers show
Series [isar-cip-core] fixed function names | expand

Commit Message

Sari, Sercan July 5, 2023, 2:40 p.m. UTC
Fixed typo for the function name open_tpm2_partition, in encrypt_partition.clevis.script and encrypt_partition.systemd.script.

Signed-off-by: Sercan Sari
<sari.sercan@siemens.com>
---
.../initramfs-crypt-hook/files/encrypt_partition.clevis.script  | 2 +-
.../initramfs-crypt-hook/files/encrypt_partition.systemd.script | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--
2.25.1
diff mbox series

Patch

diff --git a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.clevis.script b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.clevis.script
index bcb5a04..5d7124d 100644
--- a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.clevis.script
+++ b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.clevis.script
@@ -120,7 +120,7 @@  for partition_set in $partition_sets; do
                                           /usr/sbin/cryptsetup luksFormat --batch-mode \
                                                           --type luks2 "$partition" < "$tmp_key"
                                           enroll_tpm2_token "$part_device" "$tmp_key"
-                                           open_tpm2_partition_tpm2_partition "$part_device"
+                                          open_tpm2_partition "$part_device"
                                           eval "${create_file_system_cmd} ${decrypted_part}"
                             ;;
                             *)
diff --git a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script
index 927184c..75e3272 100644
--- a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script
+++ b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script
@@ -126,7 +126,7 @@  for partition_set in $partition_sets; do
                                           /usr/sbin/cryptsetup luksFormat --batch-mode \
                                                           --type luks2 "$partition" < "$tmp_key"
                                           enroll_tpm2_token "$partition" "$tmp_key"
-                                           open_tpm2_partition_tpm2_partition "$partition"
+                                          open_tpm2_partition "$partition"
                                           eval "${create_file_system_cmd} ${decrypted_part}"
                             ;;
                             *)