[OE-core] [PATCH RFC 0/2] eliminate (almost all of) busybox for GNUish images

Andy Ross andy.ross at windriver.com
Tue Oct 9 22:21:53 UTC 2012


We've been attempting to build an image that is busybox-free.
Unfortunately there are a handful of busybox applets which are used in
existing functionality (mostly various initscripts) and for which
oe-core has no packaged replacements:

+ /usr/bin/run-parts - part of upstream debianutils, unpackaged.

+ /sbin/start-stop-daemon - part of upstream dpkg, built by oe-core
  recipe but unpackaged.

+ /sbin/if{up,down} - upstream ifupdown, but busybox version is AFAICT
  quite divergent.

These are all tiny, and probably not worth having in distinct binaries.
The attached patch breaks out a separate "busybox-oe-min" package that
can be installed in images that don't need or want the full busybox
binary.  It comes to 41kb on my x86 build.

Note that busybox is still pulled in by packagegroup-core-boot, so none of
the existing images will use this package without modification.

Andy





More information about the Openembedded-core mailing list