-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 patches disabling sched_ext clean in tools for 6.12 and later kernels #7625
Conversation
Hello, thanks for the effort here @amazingfate I cherry picked this and built a CI run, which builds all kernels on x86 (similar to how Igor/Armbian.com does it). Without calling This is how I evaluated it, using a NanoPC T6 (arm64). Keep in mind the kernel was built on x86.
These are the results before this PR:
These are the results after this PR:
A similar listing is produced if you build with With this, I do think we need to keep using |
After quite a bit of consideration, I think the easiest here is really what @The-going suggested in |
I've resolved and approved #7577 -- when that lands, we can adapt this PR to only drop the patches and not drop the make clean, and all should be good. |
I'm building under an arm64 machine and there is no binary files leaked: |
Yes. cross-building is the reason this whole thing (separate linux-headers packaging) exists. |
Also, see this commit torvalds/linux@f1d8766 -- Mr. Yamada explains it better and using Debian examples -- we have a variation but the concept is the same. Hopefully after 6.12.y is commonplace we can revisit this whole subject. |
Correction: It's not about cross-building, instead, it's again about BTF (& CO-RE) enablement of the kernel (only then you'll get I will propose a PR very soon enabling BTF/CO-RE for all kernels so we can be aligned with the rest of the distros. |
40daf63
to
6ca42fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took the liberty here, hope you don't mind.
Description
We have severial patches to fix make clean under kernel tools dir. But tools binary is not shipped by linux-headers package.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
./compile.sh kernel BOARD=rock-3a BRANCH=edge DEB_COMPRESS=xz KERNEL_CONFIGURE=no KERNEL_GIT=shallow
Checklist:
Please delete options that are not relevant.