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

build busybox with -static flag #32

Open
husio opened this issue May 5, 2021 · 1 comment
Open

build busybox with -static flag #32

husio opened this issue May 5, 2021 · 1 comment

Comments

@husio
Copy link

husio commented May 5, 2021

I had issues running busybox as the first process. Due to a cryptic (to me) kernel error, it took me a while to realize that busybox was compiled dynamically.
Adding CONFIG_EXTRA_CFLAGS="-static" to the busybox .config builds a static binary and allows the kernel to run it.

@huynq55
Copy link

huynq55 commented May 8, 2021

Great. Thanks for your suggestion

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

2 participants