skiffos / SkiffOS

Any Linux distribution, anywhere.
https://skiffos.com
MIT License
705 stars 52 forks source link

Remove kernel fix to 6.8 #320

Closed maxberger closed 1 month ago

maxberger commented 2 months ago

This causes build failures when trying to build a 6.10 kernel

paralin commented 1 month ago

INSTALL /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include if ! support/scripts/check-kernel-headers.sh /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/build /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/host/x86_64-buildroot-linux-uclibc/sysroot 2.6 strict; then exit 1; fi Incorrect selection of kernel headers: expected 2.6.x, got 6.11.x

For whatever reason this happens when building x86, so I think we need the line selecting the latest kernel headers revision.

maxberger commented 1 month ago

INSTALL /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include if ! support/scripts/check-kernel-headers.sh /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/build /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/host/x86_64-buildroot-linux-uclibc/sysroot 2.6 strict; then exit 1; fi Incorrect selection of kernel headers: expected 2.6.x, got 6.11.x

For whatever reason this happens when building x86, so I think we need the line selecting the latest kernel headers revision.

Interesting. In my case the Error Message was the Same, but the other way round.

But why does x86 need kernel 2.6 Headers? That seems quite outdated.

-> If we need this line, so bei it. But it should probably always reflect the current kernel Version (at the time it said 6_8 but kernel was 6.10)

paralin commented 1 month ago

The line, if you check menu config, says "Kernel version 6.10.x or newer"

Unfortunately there isn't a "latest" option as far as I see, so I'm just setting it to the most recent (highest) one.

paralin commented 1 month ago

If you have that error, wherever you configure the kernel version, also need to set the kernel headers major version.