New issue by ackalker on void-packages repository https://github.com/void-linux/void-packages/issues/13133 Description: ### System * xuname: Void 5.1.17_1 x86_64 GenuineIntel uptodate rrrrmdFFFFFFFFF * package: efibootmgr-17_3 ### Expected behavior When removing old kernel package (using for instance `vkpurge rm`), the post-install kernel hooks should finish without any errors due to bugs. ### Actual behavior When I removed an old kernel on my system using `vkpurge rm`, the 50-efibootmgr post-install kernel hook produced the error: `efibootmgr: option requires an argument -- 'b'` ### Steps to reproduce the behavior - On a system with multiple kernel packages installed, use `xbps-remove` or `vkpurge rm` to remove a kernel package version which is older than the latest installed `major.minor` version.