In building busybox 1.15.3, I encountered some difficulty building a
standalone shell. Following the directions in the INSTALL file, I
executed "make defconfig; make; PATH= ./busybox ash" and found the
resulting binary did not operate as a standalone shell. Setting
CONFIG_BUSYBOX_EXEC_PATH=/proc/self/exe did not help. I found I needed
"CONFIG_FEATURE_PREFER_APPLETS=y" and "CONFIG_FEATURE_SH_STANDALONE=y"
in the .config file. These were not set by "make defconfig". Editing
the .config file to include "CONFIG_FEATURE_SH_STANDALONE=y" did not
work; it was reset when I executed "make." Only setting both resulted
in a working standalone shell. I suggest changing the following piece
of the "Quick Start" section of the INSTALL file:
----------------------------------
make defconfig
make
PATH= ./busybox ash
----------------------------------
and replacing it with:
--------------------------------------
execute "make menuconfig"
select Busybox Settings
then General Configuration
then exec prefers applets
exit back to top level menu
select Shells
then Standalone shell
exit back to top level menu
exit and save new configuration
then execute "make"
then execute "PATH= ./busybox ash"
---------------------------------------------
Near the end of the INSTALL file, the "More Information:" section says
"The BusyBox FAQ is
available from http://www.busybox.net/FAQ.html or as the file
docs/busybox.net/FAQ.html in this tarball." but the only file in the
tarball under "docs/busybox/" is the same BusyBox.html as in docs/. I
could find no file with "faq" in its name in the tarball.
There may be other problems in INSTALL; these are the ones I have
noticed so far.
Doug Clapp
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox