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

Missing headers #15

Open
molcik opened this issue May 3, 2023 · 0 comments
Open

Missing headers #15

molcik opened this issue May 3, 2023 · 0 comments

Comments

@molcik
Copy link

molcik commented May 3, 2023

Building DKMS modules on this kernel fails, because of missing headers.

Folders /lib/modules/KERNEL_V/build and /lib/modules/KERNEL_V/source are symlinked to non existing location /rpi-kernel/linux (this folder exists only in docker environment).

This causes dkms modules to fail.

Solution could be to include make INSTALL_HDR_PATH=/raspios/mnt/disk/usr/src headers_install in build.sh and then symlink the headers. Or copy whole /rpi-kernel/linux, but this would increase image size significantly.

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

No branches or pull requests

1 participant