grub-mkconfig: Fix detecting .sig files as system images
grub-mkconfig detects detached RSA signatures for kernel images used for signature checking as valid images and adds them to grub.cfg as separate menu entries. This patch adds .sig extension to common blacklist. Signed-off-by: Jordan Glover <Golden_Miller83@protonmail.ch> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
0659ce8313
commit
57988555fb
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ grub_file_is_not_garbage ()
|
|||
*.dpkg-*) return 1 ;; # debian dpkg
|
||||
*.rpmsave|*.rpmnew) return 1 ;;
|
||||
README*|*/README*) return 1 ;; # documentation
|
||||
*.sig) return 1 ;; # signatures
|
||||
esac
|
||||
else
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue