Message ID | DU0PR10MB6898BCFC06EEB45756106C26F02CA@DU0PR10MB6898.EURPRD10.PROD.OUTLOOK.COM (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [isar-cip-core] fixed function names | expand |
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}" ;; *)
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(-)