From c65d6b92c09f29a322c474d4f4b438f51b8d498a Mon Sep 17 00:00:00 2001 From: 3hhh Date: Sat, 14 Jan 2023 10:07:31 +0100 Subject: [PATCH] initrd: call assert_signable earlier No need to check for the GPG card first. --- initrd/bin/kexec-sign-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/initrd/bin/kexec-sign-config b/initrd/bin/kexec-sign-config index 007bcd5d..88a74c14 100755 --- a/initrd/bin/kexec-sign-config +++ b/initrd/bin/kexec-sign-config @@ -21,10 +21,10 @@ fi paramsdir="${paramsdir%%/}" -confirm_gpg_card - assert_signable +confirm_gpg_card + # update hashes in /boot before signing if [ "$update" = "y" ]; then (