Ensure to remove old unified kernels
This commit is contained in:
parent
cca39f920d
commit
319f290ec9
|
@ -33,7 +33,7 @@ done < "${temp_efi_list_file}"
|
|||
# }}}
|
||||
# Clean old kernels {{{
|
||||
## Remove all unified kernels
|
||||
find "${EFI_MOUNT_PATH}"/EFI/debian -iname "linux.debian.*.efi" -delete
|
||||
find "${EFI_MOUNT_PATH}/EFI/debian" -type f -iname "linux.debian.*.efi" -delete
|
||||
# }}}
|
||||
|
||||
# Create unified kernels blob and efiboot entries {{{
|
||||
|
|
Loading…
Reference in New Issue