Broken DKMS autoinstall on newest Ubuntu and AmneziaWG kernel #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following the latest update, some users have reported issues on the newest Ubuntu versions due to unavailable kernel sources (and notifying in case of
make
fails only about one active dir instead of both). This issue can be addressed through the following approaches:Reworking the Code
Modify the code to rely exclusively on a single correct directory for kernel sources. In this case, the recommended directory would be /var/lib/dkms.
Enhancing the Installation Process
Simplify the auto-installation process by:
Identifying the kernel version of the host machine.
Downloading the required sources to a designated directory.
Creating symbolic links to both directories for compatibility.
Proceeding with the
make
process seamlessly.User Notification
For a simpler solution, notify users of the two active directories where they should place their kernel sources. This option, while less automated, ensures clarity for the user.