[Slackbuilds-users] Packaging kernel modules with DKMS
fsLeg
fsleg at t-rg.ws
Tue Jun 23 21:29:40 UTC 2026
Interesting idea, looks much cleaner than moving the entire source tree. Unfortunately, it doesn't work. DKMS still complains about the broken tree due to missing sources, so the saved dkms.conf alone is not enough.
That includes system76-io-dkms, by the way. I don't know if you tested it or DKMS changed something over the years, but your douninst.sh fails to remove both the compiled modules and their dkms-tree. You should probably take a look at that.
On June 23, 2026 19:17:31 GMT+03:00, Erich Ritz <erich.public at protonmail.com> wrote:
>
>Take a look at how system76-io-dkms (https://slackbuilds.org/repository/15.0/system/system76-io-dkms/) does it. I got inspiration for this idea from someone else; sorry I don't remember who it was. Basically doinst.sh creates a file that isn't tracked by pkgtools, and then douninst.sh uses that file and then deletes it for a clean uninstallation.
More information about the SlackBuilds-users
mailing list