New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/28288#issuecomment-769242661 Comment: I'd suggest something close to how we have `dracut-uefi`. It's a sub package which pulls in the dependencies specific to UEFI, and also includes some files of our own (in this case, the kernel hooks; in your case, it'd be the service file, assuming it can be implemented cleanly).