aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/toybox
AgeCommit message (Collapse)Author
2020-11-02toybox: upgrade 0.8.3 -> 0.8.4Zang Ruochen
0001-Tackle-SIGEMT-and-SIGSTKFLT-is-not-glibc-specific.patch mips-no-STKFLT.patch Removed since these are included in 0.8.4 Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-02toybox: Add packageconfigs for iconv and getconfKhem Raj
iconv and getconf are also provided by glibc-utils which is built along with glibc and update-alternatives don't work with special packages like glibc since it causes cyclic dependencies e.g glibc->opkg-utils->glibc therefore creating u-a for iconv and getconf gets into trouble when glibc-utils is added to image along with toybox, usually with ptest enabled images by default. Therefore we turn these two applets into packageconfigs and delete them by default from u-a, if one want toybox to provide them then clear no-iconv and no-getconf from PACKAGECONFIG via a bbappend e.g. PACKAGECONFIG_remove = "no-getconf no-iconv" Remove bashism by enquiring for VIRTUAL-RUNTIME_init_manager from bitbake datastore Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-21toybox-inittab: unpack to SSlater, Joseph
toybox-inittab does not unpack source files into S, so the archiver cannot see them. We copy them to a sub-directory in order to keep the originals available if running do_configure() (again) without first running do_unpack(). Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-10toybox-inittab: Get rid of bashismKhem Raj
Be explicit about copying the files, makes it simpler for dash to handle it Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com> Cc: Adam Miartus <adam.miartus@softhows.eu>
2020-06-08meta-oe toybox: enable toybox init when selected as init managerAdam Miartus
compile in toybox init binary and rdepend on toybox inittab files Signed-off-by: Adam Miartus <adam.miartus@softhows.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-08meta-oe toybox-inittab: allow getty as a packageconfig featureAdam Miartus
Signed-off-by: Adam Miartus <adam.miartus@softhows.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-08meta-oe toybox-inittab: toybox inittab implementationAdam Miartus
adds lightweight inittab scripts for use with toybox Signed-off-by: Adam Miartus <adam.miartus@softhows.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-21toybox: bump version to 0.8.3Adam Miartus
Fix build on glibc/mips remove OE-path-changes.patch as already applied to upstream fix CC, CFLAGS and CROSS_COMPILE variables as toybox is strict on what is expected to be filled in these variables: CC = should contain compiler name CROSS_COMPILE = should contain compiler prefix CFLAGS = should contain only compiler flags License wording changed due to commits: 8014d31278411e22655aeae47338e95f209e2907 b31192fd73b382358b1deb33dc6c4cf4ce9c613f in toybox repository, type of license remains the same Signed-off-by: Adam Miartus <adam.miartus@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-11toybox: allow user to provide own defconfigAdam Miartus
toybox provides similar scheme with defconfig as linux and busybox, allow user to override the defconfig in their own layer copy paste from kernel.bbclass Signed-off-by: Adam Miartus <adam.miartus@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-20toybox: Re-order inherit location so we can override do_configureTom Rini
We need to override the do_configure function to disable some applets. Move our inherit line to where they should be, stylistically, so that our function overrides the one from cml1.bbclass Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-04toybox: use cml1.bbclass to add a proper menuconfig taskEduardas Meile
It is sometimes convenient to use "bitbake toybox -c menuconfig". Signed-off-by: Eduardas Meile <eduardas.m@fods.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-04toybox: fix to use "usrmerge" distro feature properlyEduardas Meile
Signed-off-by: Eduardas Meile <eduardas.m@fods.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-18toybox: Fix paths to match OE conventionsDan McGregor
Many toybox commands get installed in places that are unexpected in openembedded-core, causing conflicts. Fix up the paths I identified that are causing conflicts. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15toybox: Add missing dep on virtual/cryptKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-11-15toybox: Switch to v0.7.5 releasePaul Barker
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-10-17toybox: Switch building from git src_uriKhem Raj
We need a patch e.g. https://github.com/landley/toybox/commit/78289203031afc23585035c362beec10db54958d 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-02toybox: Upgrade to 0.7.4Khem Raj
enable parallel build Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16toybox: Upgrade to 0.7.3Paul Barker
Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16toybox: Fix configure failurePaul Barker
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>
2016-12-13toybox: Upgrade to 0.7.2Paul Barker
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-02remove True option to getVar callsJoshua Lock
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-06-08toybox: Upgrade to 0.7.1Paul Barker
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-05-06toybox: Upgrade to 0.7.0Paul Barker
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-06toybox: Remove out-of-date patchPaul Barker
Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-07Revert "toybox: upgrade to 0.7.0"Martin Jansa
* 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 26ee1849d1d70296aee8694f89502eb813842565.
2016-02-25toybox: upgrade to 0.7.0Alejandro Joya
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>
2015-09-08toybox: upgrade to 0.6.0Alejandro Joya
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-04-24toybox: Upgrade to v0.5.2Amarnath Valluri
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>
2014-10-27toybox: Upgrade to v0.5.0Paul Barker
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-09-26toybox: New recipe for toybox-0.4.9Paul Barker
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>