On Tuesday, June 23rd, 2026 at 5:31 AM, fsLeg via SlackBuilds-users 
<[email protected]> wrote:

> This is not a pressing issue, but it would be nice to have an understanding 
> for the future.
> 
> Slackware-current now has DKMS. While not applicable for 15.0, SBo has a 
> script for DKMS, so it's still kinda relevant. My question is, how do you 
> package kernel modules to make use of DKMS?
> 

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.

This trick could be used elsewhere when required (not just DKMS).

Erich
_______________________________________________
SlackBuilds-users mailing list
[email protected]
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to