initrd: call assert_signable earlier

No need to check for the GPG card first.
This commit is contained in:
3hhh 2023-01-14 10:07:31 +01:00
parent 4ce8f664ad
commit c65d6b92c0
No known key found for this signature in database
GPG Key ID: EB03A691DB2F0833

View File

@ -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
(