There is an updated pull request by classabbyamp against master on the void-packages repository https://github.com/classabbyamp/void-packages headers-virtual https://github.com/void-linux/void-packages/pull/43519 make linux-headers a virtual package this will allow device-specific kernels to provide linux-headers for packages that need it (like dkms) without needing hacks like `ignorepkg=` fixes #43517 - etc/defaults.virtual: create vpkg linux-headers generic kernels: - linux4.14: -headers subpkg provides linux-headers - linux4.19: -headers subpkg provides linux-headers - linux5.4: -headers subpkg provides linux-headers - linux5.10: -headers subpkg provides linux-headers - linux5.15: -headers subpkg provides linux-headers - linux6.1: -headers subpkg provides linux-headers - linux6.2: -headers subpkg provides linux-headers I did not add `linux`, `linux-lts`, and `linux-mainline` headers subpkgs as providers because then you'd have two providers installed (the metapackage and the package it points to), which I think makes sense. device kernels: - beaglebone-kernel: -headers subpkg provides linux-headers - ci20-kernel: -headers subpkg provides linux-headers - odroid-u2-kernel: -headers subpkg provides linux-headers - pinebookpro-kernel: -headers subpkg provides linux-headers - pinephone-kernel: -headers subpkg provides linux-headers - rpi-kernel: -headers subpkg provides linux-headers - sun7i-kernel: -headers subpkg provides linux-headers packages that require linux-headers: - bcc: depend on linux-headers vpkg - dkms: depend on linux-headers vpkg - lksctp-tools: depend on linux-headers vpkg #### Testing the changes - I tested the changes in this PR: **briefly** packages build with the vpkg in the proper metadata spot, but I haven't tried this otherwise, and I have no clue if updating to this will work [ci skip] A patch file from https://github.com/void-linux/void-packages/pull/43519.patch is attached