MichielDerhaeg/build-linux

build busybox with -static flag

husio opened this issue · 1 comments

husio commented

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.

Great. Thanks for your suggestion