[oe-commits] Paul Barker : toybox: New recipe for toybox-0.4.9

git at git.openembedded.org git at git.openembedded.org
Mon Sep 29 02:51:30 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: 11a7fb62b8e2f1d91793460de33229874c433648
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=11a7fb62b8e2f1d91793460de33229874c433648

Author: Paul Barker <paul at paulbarker.me.uk>
Date:   Mon Sep  8 09:11:44 2014 +0000

toybox: New recipe for toybox-0.4.9

Toybox is a BSD-licensed alternative to Busybox which may be of interest to a
few people. It's still a work in progress but it already covers a large number
of the basic commands a system needs.

Removing toybox after it has been installed currently bricks the system though
as the postrm script runs after '/bin/toybox' has been removed (so things like
'/bin/ln' become broken links and the update-alternatives script can't run).

Toybox is patched to change the install paths of several utilities to match the
paths used by Busybox. This is needed as update-alternatives from opkg-utils
cannot handle two providers of a given utility which place their links in
different locations. Link locations have so far only been matched with Busybox,
other packages such as coreutils still cause clashes. Therefore, toybox
currently installs cleanly on core-image-minimal but fails to install cleanly on
core-image-full-cmdline.

Hopefully Toybox is still usable for testing in the current state. With further
development of the recipe it should be possible to install and uninstall toybox
cleanly on all core images. With further upstream development it should become a
viable replacement for Busybox.

Signed-off-by: Paul Barker <paul at paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/licenses/BSD-0-Clause                      |  12 +
 .../toybox/0001-Match-paths-with-busybox.patch     | 365 +++++++++++++++++++++
 meta-oe/recipes-core/toybox/toybox_0.4.9.bb        |  64 ++++
 3 files changed, 441 insertions(+)

Diff:   http://git.openembedded.org/?p=meta-openembedded.git/?a=commitdiff;h=11a7fb62b8e2f1d91793460de33229874c433648


More information about the Openembedded-commits mailing list