There's a closed pull request on the void-packages repository [WIP] rpi-kernel: build flavor subpackages, add rpi4 https://github.com/void-linux/void-packages/pull/26000 Description: This now builds all Raspberry Pi kernels from a single template by using individual builddir/destdir for each flavor and performing all stages independently with help of the `_flavor_stage()` function. * rpi-kernel is an empty meta package now that is built by default for every arch and is kept to serve legacy installations as it depends on the appropriate new flavor rpi{1,2,3}-kernel package. * subpackages are enabled conditionally for each arch. * add rpi4 while at it :-) see: https://github.com/void-linux/void-mklive/pull/153 as well --- ### How to Build packages ``` cd void-packages ./xbps-src -m masterdir.rpi4 binary-bootstrap ./xbps-src -m masterdir.rpi4 -a aarch64-musl pkg rpi-base ./xbps-src -m masterdir.rpi4 -a aarch64-musl pkg rpi-kernel ``` Build images: see https://github.com/void-linux/void-mklive/pull/153 --- ### Remaining issues - [ ] change to `rpi-base` require manual action for existing instals (`rpi{0,1,2,3}`). (rpi-kernel will result in an orphan) is there a better way?