Release Kernel Headers [not relevant]

asked 2015-11-09 13:36:48 +0300

r0kk3rz gravatar image

updated 2015-11-09 14:14:20 +0300

As a followup to requests like TJC-120063 and TJC-120130 it would be nice if we had the compiled kernel headers on the device or available in repos for each release so people can compile kernel modules without having to flash the kernel with one they've built.

Headers can be extracted from the kernel binary through processes like this (extract-symvers), but all major linux distributions provide the kernel headers in their package repos for the purpose of compiling kernel modules

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by r0kk3rz
close date 2015-11-09 17:11:08.905600

Comments

2

The kernel headers are available at http://releases.sailfishos.org/sources/ (in common/kernel-headers) but be warned that this isn't enough to build kernel modules. For that you need the full kernel sources, configured and compiled (but not flashed) like the Jolla kernel.

V10lator ( 2015-11-09 14:30:40 +0300 )edit

@V10lator, thanks for that, I obviously missed them.

The kernel sources are available, and the config exists on the device, so the headers were the last piece of the puzzle.

r0kk3rz ( 2015-11-09 14:49:07 +0300 )edit

@r0kk3rz: back in the day I successfully compiled zram for update8/9. Sources are here with a small how-to and a spec file if you're interested.

g7 ( 2015-11-09 17:26:05 +0300 )edit
1

@g7, i know, I've been reading your notes so thanks for documenting them :)

r0kk3rz ( 2015-11-09 18:12:30 +0300 )edit