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
remove dependency on linux-headers-generic #100
Conversation
rosdep key 'linux-headers-generic' will always install the "standard" kernel headers. On Ubuntu LTS, where kernels are updated with point releases, this will depend on the old kernel header files, while a newer kernel image might be booted.
@fmessmer Can you have a look? |
seems reasonable also, open-close to get the expectec travis jobs to start - needed after #101 |
ref ros/rosdistro#21921 (comment) it will take a bit longer until I find the time to get this done... |
@fmessmer I am not sure if I get this. The issue you linked is related to the rosdep key Shouldn't this go away once the rosdep key is removed by this PR? |
yes...the referenced issue was rather an additional argument for merging this pr 😉 |
@clalancette |
@fmessmer @christian-rauch So I took a closer look at this PR. The question to answer here is whether building If we look at CMakeLists.txt, we see that
The list I got from the above looks like:
As far as I can tell, those are all standard headers (even the |
cob_extern/libpcan/install_pcan.sh Lines 1 to 7 in 5f958a2
But the version of the kernel headers is determined by the currently loaded kernel ( Or am I missing something here? |
Addendum: @fmessmer What is the status of this script? Is it still required and if so, what would be the correct way to build&install the kernel module? |
to be honest, I don't have all the insights about what's going on...and I'm only doing releases every now and then...I'm not officially maintaining this repo anymore... however, it seems to me that merging this is a good idea...thus, merging... 😉 |
While that is true, it looks like |
The rosdep key
linux-headers-generic
will always install the "standard" kernel headers. On Ubuntu LTS, where kernels are updated with point releases, this will depend on the old kernel header files, while a newer kernel image might be booted.Since the
libpcan
build script depends on the headers of the currently booted kernel anyway, installing the "old" headers does not have an effect.