ARM-software / devlib

Library for interaction with and instrumentation of remote devices.
Apache License 2.0
47 stars 78 forks source link

bin: Update busybox #641

Closed douglas-raillard-arm closed 1 year ago

douglas-raillard-arm commented 1 year ago

Update busybox to version 1.36.1 with defconfig and uniformly built on Alpine v3.18, statically linked to musl libc.

douglas-raillard-arm commented 1 year ago

There seems to be an issue where insmod does not forward the return code from the module init function but returns 1 instead. I need to dig deeper to figure out if it's a busybox config issue or a change in behavior since the previous version.

douglas-raillard-arm commented 1 year ago

Turns out to be due to CONFIG_MODPROBE_SMALL=y, which is enabled by default. I'll rebuild the binaries and update the PR https://bugs.busybox.net/show_bug.cgi?id=15727

douglas-raillard-arm commented 1 year ago

Updated with the fixed build config to get the "full" insmod command instead of the minimal one that breaks return code forwarding.