Package "main/linux-vanilla" is inconsistent in naming the vmlinuz Flavor
Suppose you create and boot using Alpine Linux Hardened.
Then /boot contains consistent naming…
-rw-r—r— 1 root root 4126869 Jun 8 15:42 System.map-hardened
-rw-r—r— 1 root root 165107 Jun 8 15:42 config-hardened
-rw-r—r— 1 root root 11512005 Jun 10 12:56 initramfs-hardened
-rw-r—r— 1 root root 4498512 Jun 8 15:42 vmlinuz-hardened
Then you add the Package main/linux-vanilla
and you find vmlinuz is NOT vmlinuz-vanilla…
-rw-r—r— 1 root root 4126869 Jun 8 15:42 System.map
-rw-r—r— 1 root root 165107 Jun 8 15:42 config
-rw-r—r— 1 root root 11512005 Jun 10 12:56 initramfs-vanilla
-rw-r—r— 1 root root 4498512 Jun 8 15:42 vmlinuz
This gives Grub a problem, as grub-mkconfig -o /boot/grub/grub.cfg
does not find the vanilla entry.
To be consistent, IMHO, it should be…
-rw-r—r— 1 root root 2729535 Jun 11 15:57 System.map-vanilla
-rw-r—r— 1 root root 165304 Jun 11 15:57 config-vanilla
-rw-r—r— 1 root root 9324853 Jun 11 20:37 initramfs-vanilla
-rw-r—r— 1 root root 4252752 Jun 11 15:57 vmlinuz-vanilla
grub-mkconfig then finds the entry.
Thanks
(from redmine: issue id 7414, created on 2017-06-11)