Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Use 2 threads for DKMS on systen updates as well#309

Open
tannisroot wants to merge 1 commit intorhasspy:masterfrom
tannisroot:dkms-make-option
Open

Use 2 threads for DKMS on systen updates as well#309
tannisroot wants to merge 1 commit intorhasspy:masterfrom
tannisroot:dkms-make-option

Conversation

@tannisroot
Copy link
Contributor

In my previous PR, I've added a change that would make DKMS compile the respeaker driver using 2 threads instead of 4 on boards like Pi Zero 2W. However, this would only apply during the initial install.
If the user attempted to upgrade the system, and there was an update to the kernel, DKMS would try to use 4 threads like before and result in a system lockup.
This change will modify the dkms.conf file so that DKMS always compiles the driver with 2 threads, even on updates, when the board is detected having too little memory (so the same as previous PR).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant