busybox with single applet enabled

Sergey Naumov sknaumov at gmail.com
Wed May 18 19:54:58 UTC 2011


Hello.

I want to ask if there a way to make compiling busybox as single
applet as explicit option?
Let's imagine a typical situation:
you changed some applet and now you want to test it. You call "make
allnoconfig",
then in menuconfig you enable desired applet, make busybox and call
applet as usual:
./busybox applet parameters

And... your parameters are treated differently than for ./applet -> ./busybox,
./applet parameters case.

May be busybox gurus aware of it, but it looks like a bug for regular
users, or, OK, at least for me =)
It took about 30 mins to find run_applet_and_exit() function and
realize that it is wrapped by #ifdef
for multi-applet busybox.

Sergey Naumov.


More information about the busybox mailing list