Open evelikov opened 10 months ago
Fwiw you do not need to explicitly run "dkms build" and then "dkms install". The latter will do both, as needed.
Practically similar to how the kernel behaves, all (non-buggy) programs using make and many other tools.
If it were me, I would remove all the module building bits from the top-level Makefile.am
since wrapping the kernel build like that usually leads to grief. Just learned about this project, so take this with a truck-full of salt.
It seems that it's not enough to just build it like this. The resulting kernel module file has small size as well (13 kB instead of 500kB) and it's not working. I guess that the autoconf/autotools are adding some xtables libraries or something to this module for it to work. I'm trying to delve into how the original build works for now.
On second thought, just running make
using this Makefile without DKMS will generate correct kernel module file.
So it's a problem somewhere in DKMS.
Build tested only
@lampotakl feel free to give this a try. It works properly on my end.