Closed SumGR closed 3 years ago
@pbui @Piraty
I recall this issue came up once before ..? passing ARCH=aarch64 is wrong, it's named arm64 in the kernel
as pointed out by @pbui on IRC, there's a note in the project's readme about non-x86 archs. that makefile should be patched to pick the correct karch
I'm using the void Linux image for the raspberry pi3. I'm trying to load an external USB Wi-Fi module. The rtl8822bu-dkms fails to build because it's looking for aarch64 kernel headers.
The DKMS build logs show this:
I tried installing the
rpi-kernel-headers
package, but it seems to place all the headers in/usr/src/rpi-kernel-headers-4.19.127_2
under the arch of arm64 instead of aarch64I ran the following to get the module to build:
This seems to affect other dkms modules as well. Should the rpi-kernel-headers package be patched to always have this symbolic link so dkms modules can build? or is this something that should be fixed (or is fixed) upstream in dkms?
Kernel:
Linux void-live 4.19.127_2 #1 SMP PREEMPT Fri Jul 17 14:28:57 UTC 2020 aarch64 GNU/Linux
Package: rtl8822bu-dkms-20200407_1