You are not logged in.
In my /boot/ directory there are a couple of png files that I use as kernel icons for refind: vmlinuz-linux.png and vmlinuz-linux-lts.png.
Sometimes I use grub instead of refind and I noticed that grub-mkconfig takes these PNGs as kernels and creates for them entries in the grub menu.
I was wondering if there is a way to avoid this, to tell grub "do not take into considerations PNG files".
Last edited by daneel971 (2021-01-17 12:37:29)
Offline
Looks like this is caused by lines 169 & 174 /etc/grub.d/10_linux, only line 169 applies to Arch.
You could change that line to exclude "vmlinuz-*" file names which also contain "png":
for i in /boot/vmlinuz-*[!png] /vmlinuz-*[!png] /boot/kernel-* ; do
Probably best to create a patch for this and apply it to a custom version of the grub package.
Offline
thanks for the suggestion, I'll try as soon as possible
Offline
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline