Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DKMS support #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add DKMS support #29

wants to merge 1 commit into from

Conversation

evelikov
Copy link

Build tested only


@lampotakl feel free to give this a try. It works properly on my end.

Build tested only

Signed-off-by: Emil Velikov <[email protected]>
@evelikov
Copy link
Author

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.

@evelikov
Copy link
Author

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.

@lampotakl
Copy link
Contributor

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.

@lampotakl
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants