busybox with single applet enabled
sknaumov at gmail.com
Wed May 18 19:54:58 UTC 2011
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
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.
More information about the busybox