[Aboriginal] missing applets in current 1.20 system images
rob at landley.net
Thu Oct 25 18:27:08 PDT 2012
I might already have replied to this one, but since gmail eats copies
of messages lists send back to me (because google has strong opinions
about what I should and shouldn't see, which are often empirically
wrong), and I'm not online to check the web archive, I dunno.
On 10/09/2012 07:04:07 PM, John Spencer wrote:
> (mipsel:3) /home # free -m
> /bin/ash: free: not found
> (mipsel:3) /home # /bin/busybox mkswap
> mkswap: applet not found
> (mipsel:3) /home # swapon
> /bin/ash: swapon: not found
Yup. There's a reason for that.
I'm migrating the code from busybox to toybox. (Also from uClibc to
musl, but I don't have to write that one.)
In preparation for this, I stripped down busybox from "defconfig" to
sources/baseconfig-busybox with just the list of commands the build
actually uses (as determiend by more/record-commands.sh). This includes
the set of commands used to boot the target system, and to build Linux
From Scratch under the result. I'm then gradually replacing those
busybox commands with toybox versions.
Since then, I've been adding back commands like "top" that the build
doesn't use, but which I really miss if they're not there. You've just
spotted three more (which are already in the repository version of
toybox, but not in the older release version aboriginal's using).
If you want the old "kitchen sink" configuration of busybox, it's:
BUSYBOX=1 ./build.sh i686
That'll use a defconfig version of busybox instead of the stripped down
version plus toybox.
More information about the Aboriginal