Commit Graph

16 Commits

Author SHA1 Message Date
Paul Barker
12d4460aff toybox: Switch to v0.7.5 release
The commit we needed to use has now been incorporated into a release.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Khem Raj
18bb0929e1 toybox: Switch building from git src_uri
We need a patch e.g. 7828920303
to fix build on archlinux

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-17 10:32:03 +00:00
Khem Raj
6d231956fb toybox: Upgrade to 0.7.4
enable parallel build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-02 12:34:40 +00:00
Paul Barker
d6ff17de88 toybox: Upgrade to 0.7.3
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:33 +01:00
Paul Barker
82b589603c toybox: Fix configure failure
do_configure is currently failing as HOSTCC defaults to just 'cc' in the
toybox Makefile.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:33 +01:00
Paul Barker
efa72fe956 toybox: Upgrade to 0.7.2
Patches are dropped as they are no longer needed.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-13 11:19:33 +01:00
Joshua Lock
efd3696e70 remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-12-02 09:16:17 +01:00
Paul Barker
f90b8d367d toybox: Upgrade to 0.7.1
The previous patches are now included in the upstream 0.7.1 release. Two new
patches are needed, both of which have been submitted upstream:

* The version should report as 0.7.1 not 0.7.0.

* grep didn't print any output due to printf choking on a field width
  of INT_MAX/2. When trim is not set we can drop the field width
  instead of using a huge default width.

The unstripped toybox binary has moved from "toybox_unstripped" to
"generated/unstripped/toybox".

Additionally, the swapon command is now disabled as it does not support the '-a'
option used by initscripts.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:29 +02:00
Paul Barker
09806901be toybox: Upgrade to 0.7.0
Add additional patches to fix issues seen during testing on qemux86.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:27 +02:00
Paul Barker
3391c2e65c toybox: Remove out-of-date patch
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:27 +02:00
Martin Jansa
a1e135a499 Revert "toybox: upgrade to 0.7.0"
* issues reported by me and Khem weren't addressed
  http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/105824.html
  http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106344.html

This reverts commit 26ee1849d1.
2016-03-07 13:02:19 +01:00
Alejandro Joya
26ee1849d1 toybox: upgrade to 0.7.0
Change SRC_URI to latest version and update the checksum for package.
remove old patch not longer need it to build it and add depedency found for builiding
on temporary enviroment like yocto.

Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 18:09:40 +01:00
Alejandro Joya
7ad835c9f8 toybox: upgrade to 0.6.0
Change SRC_URI since patch is not longer need it.
Update the checksum for package.

Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-08 16:21:38 +02:00
Amarnath Valluri
4429a3250f toybox: Upgrade to v0.5.2
The patch applied to toybox is rebased onto the new release and updated.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-24 15:11:25 +02:00
Paul Barker
ae867dc3ec toybox: Upgrade to v0.5.0
The patch applied to toybox is rebased onto the new release and updated.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-27 12:51:50 +01:00
Paul Barker
11a7fb62b8 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@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:42:53 +02:00