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

dkms ignores --kernelsourcedir if /lib/modules/$kernel_version exists #30

Closed
Glandos opened this issue Aug 30, 2017 · 2 comments
Closed
Labels

Comments

@Glandos
Copy link
Contributor

Glandos commented Aug 30, 2017

Hi,
In order to build one module, I need to have the complete kernel source tree.
I'm trying to use DKMS on CentOS7 to build it.

However, using the option --kernelsourcedir seems to have no effect. And indeed, since kernel headers are already installed in /usr/src and linked into /lib/modules/<kernel_version>/build, the dkms build uses it instead of my custom parameter.

Is there anything I missed from the documentation?

@Glandos Glandos changed the title dkms ignores --kernelsourcetree if /lib/modules/$kernel_version exists dkms ignores --kernelsourcedir if /lib/modules/$kernel_version exists Aug 31, 2017
@GoPerry
Copy link
Contributor

GoPerry commented Dec 22, 2017

@Glandos
I think you need dkms/dkms_framework.conf to set your own environment for debuging .

@GoPerry
Copy link
Contributor

GoPerry commented Jan 25, 2018

Close the question.
Feel free to comment when you still have questions.

@GoPerry GoPerry closed this as completed Jan 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants