Broken DKMS autoinstall on newest Ubuntu and AmneziaWG kernel - #62
Conversation
Fixed discrepancy for newest DKMS builds on ubuntu Signed-off-by: rylaix <62016614+rylaix@users.noreply.github.com>
|
Same error on Fedora when installing from COPR |
Wellp, actually, as I've seen from a DKMS dev's profile, he's disappeared. |
|
Little update. |
|
In your case, you can try a simple workaround made by me: |
That's script for Ubuntu, I'm under Fedora, it doesn't use launchpad for source distribution) |
Let's better move to a discussion inside opened topic. |
|
The solution is in README: you should make a symlink to the running kernel sources. |
Following the latest update, some users have reported issues on the newest Ubuntu versions due to unavailable kernel sources (and notifying in case of
makefails 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
makeprocess 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.