New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/pull/24298#issuecomment-675711533 Comment: I think this is more consistent even if official Void kernels don't ship with anything more than a single hyphen. Let's say a local package (or unpackaged kernel build) modifies LOCALVERSION to be `-test_${revision}`. We have two kernels: ``` /boot/vmlinuz-5.7.14_1 /boot/vmlinuz-5.7.14-test_1 ``` Running `vkpurge list` before this patch is applied, if you are on `5.7.14_1`, will show ``` test_1 ``` and attempting to `vkpurge rm all` will look for `/boot/vmlinuz-test_1`, which is clearly not correct. After the patch, `vkpurge list` will show ``` 5.7.14-test_1 ``` and `vkpurge rm all` will look for and successfully delete `/boot/vmlinuz-5.7.14-test_1`.