RPi-Distro / repo

Issue tracking for the archive.raspberrypi.org repo
37 stars 1 forks source link

Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which... #236

Closed pheiduck closed 3 years ago

pheiduck commented 3 years ago

Background:

Use wireguard installed with this script https://github.com/Nyr/wireguard-install

Wireguard is working anyway

Get this from todays Kernel Update updated via apt / stable buster repo > 1.20210303-1

run-parts: executing /etc/kernel/header_postinst.d/dkms 5.10.17+
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
run-parts: executing /etc/kernel/header_postinst.d/dkms 5.10.17-v7+
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
run-parts: executing /etc/kernel/header_postinst.d/dkms 5.10.17-v7l+
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
run-parts: executing /etc/kernel/header_postinst.d/dkms 5.10.17-v8+
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
pheiduck commented 3 years ago

https://github.com/raspberrypi/firmware/issues/1545

XECDesign commented 3 years ago

That script doesn't seem to support Raspberry Pi OS. AFAIK, Wireguard is already provided as a kernel module and you can just run sudo apt install wireguard-tools to get the tools

XECDesign commented 3 years ago

Taking a closer look, it seems like that message comes from the wireguard-dkms package, which you should be able to remove.

pheiduck commented 3 years ago

hm, sure that wireguard won't work if I do this? Maybe it resolved by an update of wireguard-dkms?

pkg diffs buster vs sid https://packages.debian.org/buster-backports/wireguard-dkms https://packages.debian.org/sid/wireguard-dkms

XECDesign commented 3 years ago

hm, sure that wireguard won't work if I do this?

Why do you believe that?

pheiduck commented 3 years ago

Update: uninstalled wireguard-dkms dkms Works anyway