All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Barker <paul@paulbarker.me.uk>
To: OE Devel <openembedded-devel@lists.openembedded.org>,
	Yocto discussion list <yocto@yoctoproject.org>
Subject: toybox in OpenEmbedded
Date: Mon, 18 Aug 2014 13:44:53 +0000	[thread overview]
Message-ID: <20140818134453.GE12992@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]

Hi all,

I've been wanting to try out toybox within OpenEmbedded for quite a while and
have finally found time to put a recipe together. 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. It should tie in well with the recent work Khem has done to enable
the use of musl in OpenEmbedded as toybox and musl are often used together (e.g.
Aboriginal Linux distro).

My patches are currently against openembedded-core for convenience but this
probably belongs in meta-oe for now. I've done some basic testing on qemuarm but
nothing significant. toybox builds and installs correctly though and I've set
ALTERNATIVE_PRIORITY = 60 so that it takes precedence over busybox tools.

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).

I can send patches but as I say, this is a work in progress and you shouldn't
install toybox using this recipe on a production system yet. Would anyone else
be interested in testing this out? And should I send these patches against
openembedded-core or meta-oe or should I create a separate layer for this until
it stabilises?

Thanks,

-- 
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk

[-- Attachment #2: Type: application/pgp-signature, Size: 484 bytes --]

             reply	other threads:[~2014-08-18 13:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18 13:44 Paul Barker [this message]
2014-08-18 14:29 ` [yocto] toybox in OpenEmbedded Christopher Larson
2014-08-18 14:29   ` Christopher Larson
2014-08-18 14:43   ` [yocto] " Paul Barker
2014-08-18 14:43     ` Paul Barker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140818134453.GE12992@gmail.com \
    --to=paul@paulbarker.me.uk \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.