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

[Question]: How to generate kernel headers in an Armbian Legacy build for NanoPi Neo Core? #7792

Closed
2 tasks done
mastin-zgz opened this issue Feb 7, 2025 · 3 comments
Closed
2 tasks done
Labels
Bug Something isn't working as it should Good first issue Feel free to contribute :)

Comments

@mastin-zgz
Copy link

What happened?

Hello everyone,

I’m compiling an Armbian Legacy image for the NanoPi Neo Core, and I need to include the kernel headers in the full system build. My goal is to have the headers available in the final image without needing to install them manually afterward.

So far, I’ve been compiling using ./compile.sh, but I haven't found a clear way to include the headers.

Some specific questions I have:

Is there an option in compile.sh to generate and include the headers?
Do I need to modify any file in config/ or the kernel Makefile to ensure they are built automatically?
Should the headers be generated as part of the kernel package (linux-headers-legacy-xxx.deb), or do they need to be compiled separately?
If anyone has successfully included kernel headers in a custom build, I’d really appreciate any guidance or example configurations.

Thanks in advance!

How to reproduce?

i follow the defaults steps un readme

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 24.04 Noble

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mastin-zgz mastin-zgz added the Bug Something isn't working as it should label Feb 7, 2025
Copy link
Contributor

github-actions bot commented Feb 7, 2025

Hey @mastin-zgz !

Looks like it's your first time interacting with Armbian here on GitHub.

Welcome and thank you for taking the time to report an issue ❤️.

Don't forget to star ⭐ the repo.

@github-actions github-actions bot added the Good first issue Feel free to contribute :) label Feb 7, 2025
Copy link
Contributor

github-actions bot commented Feb 7, 2025

Jira ticket: AR-2605

@igorpecovnik
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should Good first issue Feel free to contribute :)
Development

No branches or pull requests

2 participants