We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52b3059 commit 691d83dCopy full SHA for 691d83d
cryptboot
@@ -58,17 +58,18 @@ case "${1}" in
58
systemd-boot-sign)
59
# Sign files in TO_SIGN with UEFI secure boot keys
60
echo "Signing kernel with UEFI secure boot keys..."
61
- for dir in "${TO_SIGN[@]}"; do
+ for tmp_dir in "${TO_SIGN[@]}"; do
62
+ dir="${EFI_DIR}"/"${tmp_dir}"
63
[[ -d "${dir}" ]] ||
64
{
65
var_invalid_warning "${dir}" "TO_SIGN"
66
continue
67
}
68
shopt -s nocaseglob
- for file in "${EFI_DIR}"/"${dir}"/*.efi; do
69
+ for file in "${dir}"/*.efi; do
70
[[ -f "${file}" ]] ||
71
- var_invalid_warning "${file}" "${EFI_DIR}/${dir}/*.efi"
72
+ var_invalid_warning "${file}" "${dir}/*.efi"
73
74
75
cryptboot-efikeys sign "${file}"
0 commit comments