void-linux / void-linux/void-packages

aarch64 dkms requires linux-headers which doesn't make sense on RPi 3,4

Open
#43,517 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

When installing dkms on Raspberry Pis with aarch64 architecture, linux-headers gets pulled as a dependency, but rpi-kernel-headers should be used instead. There are a few possible solutions:

  1. remove dkms dependency on linux-headers on aarch64 (rejected because vanilla kernel exists for aarch64) https://github.com/void-linux/void-packages/pull/24535
  2. when building the rpi3 (and rpi4 in the future) images, add linux-headers to ignorepkg= in /etc/xbps.d. This means users will have to install rpi-kernel-headers manually.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Raspberry Pi 3 image build configuration and the /etc/xbps.d settings mentioned in the issue, then review how dkms, linux-headers, and rpi-kernel-headers are selected for aarch64 images. Done means the chosen dependency behavior is applied consistently to the affected images and verified during installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, raspberry-pi
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.