Message ID | 20240506141833.3622989-11-Quirin.Gylstorff@siemens.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Add option to encrypt the rootfs | expand |
diff --git a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.script b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.script index 857b73f..d9a85e5 100644 --- a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.script +++ b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.script @@ -183,7 +183,7 @@ for partition_set in $partition_sets; do ;; esac - finalize_tpm2_encryption + finalize_tpm2_encryption "$part_device" done if [ -n "$watchdog_pid" ]; then 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 611f9cf..1b7c83b 100644 --- a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script +++ b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script @@ -52,6 +52,6 @@ prepare_for_encryption() { finalize_tpm2_encryption() { partition_device="$1" -- /usr/bin/systemd-cryptenroll --wipe-slot=0 "$partition_device" + /usr/bin/systemd-cryptenroll --wipe-slot=0 "$partition_device" }