summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/toybox
Commit message (Collapse)AuthorAgeFilesLines
* toybox: upgrade 0.8.11 -> 0.8.12Wang Mingyu2025-01-241-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: upgrade 0.8.10 -> 0.8.11Wang Mingyu2024-04-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox-inittab: Fix serial getty reproducibilityYoann Congal2024-03-051-1/+1
| | | | | | | | | | | | | | The enable_getty test uses a bash-only syntax "[[ ... ]]". On /bin/sh==bash hosts, it enables the serial getty. On /bin/sh!=bash hosts, it does not enable it. Fix this non-reproducibility by using the standard shell "[ ... ]" syntax which should work in any POSIX shell[0]. [0]: https://www.shellcheck.net/wiki/SC3010 Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: upgrade 0.8.8 -> 0.8.10Khem Raj2023-11-052-41/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: Fix build on 32bit arches with 64bit time_t defaultsKhem Raj2022-09-082-0/+38
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: Remove mount.h conflict fixKhem Raj2022-08-302-162/+0
| | | | | | | | This has been fixed in latest glibc 2.36 release [1] [1] https://sourceware.org/git/glibc.git/log/3bd3c612e98a53ce60ed972f5cd2b90628b3cba5...4dad97e2a2e510c6b53a0add29a2188714fcf4ab Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: Fix build with glibc 2.36+Khem Raj2022-08-142-1/+163
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: upgrade 0.8.6 -> 0.8.7wangmy2022-05-091-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: upgrade 0.8.5 -> 0.8.6wangmy2022-04-141-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox-inittab: Use 0BSD for LIC_FILES_CHKSUMKhem Raj2021-09-051-2/+2
| | | | | | | BSD-0-Clause has been deleted from common licenses Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
* Convert to new override syntaxMartin Jansa2021-08-032-7/+7
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* toybox: upgrade 0.8.4 -> 0.8.5zangrc2021-06-111-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: upgrade 0.8.3 -> 0.8.4Zang Ruochen2020-11-023-58/+1
| | | | | | | | | 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>
* toybox: Add packageconfigs for iconv and getconfKhem Raj2020-09-021-1/+12
| | | | | | | | | | | | | | | | | | | | | | | 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>
* toybox-inittab: unpack to SSlater, Joseph2020-07-211-6/+9
| | | | | | | | | | 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>
* toybox-inittab: Get rid of bashismKhem Raj2020-06-101-2/+2
| | | | | | | | | 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>
* meta-oe toybox: enable toybox init when selected as init managerAdam Miartus2020-06-081-0/+7
| | | | | | | 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>
* meta-oe toybox-inittab: allow getty as a packageconfig featureAdam Miartus2020-06-081-5/+16
| | | | | Signed-off-by: Adam Miartus <adam.miartus@softhows.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe toybox-inittab: toybox inittab implementationAdam Miartus2020-06-084-0/+129
| | | | | | | 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>
* toybox: bump version to 0.8.3Adam Miartus2020-05-214-200/+74
| | | | | | | | | | | | | | | | | | | | 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>
* toybox: allow user to provide own defconfigAdam Miartus2020-05-111-1/+12
| | | | | | | | | | | 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>
* toybox: Re-order inherit location so we can override do_configureTom Rini2019-05-201-2/+2
| | | | | | | | | 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>
* toybox: use cml1.bbclass to add a proper menuconfig taskEduardas Meile2018-12-041-1/+1
| | | | | | | 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>
* toybox: fix to use "usrmerge" distro feature properlyEduardas Meile2018-12-041-1/+1
| | | | | Signed-off-by: Eduardas Meile <eduardas.m@fods.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: Fix paths to match OE conventionsDan McGregor2018-10-182-1/+198
| | | | | | | | | 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>
* toybox: Add missing dep on virtual/cryptKhem Raj2018-08-151-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toybox: Switch to v0.7.5 releasePaul Barker2017-11-151-7/+3
| | | | | | | 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>
* toybox: Switch building from git src_uriKhem Raj2017-10-171-5/+8
| | | | | | | | 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>
* toybox: Upgrade to 0.7.4Khem Raj2017-10-021-6/+4
| | | | | | | enable parallel build Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* toybox: Upgrade to 0.7.3Paul Barker2017-03-161-2/+2
| | | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* toybox: Fix configure failurePaul Barker2017-03-161-0/+2
| | | | | | | | 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>
* toybox: Upgrade to 0.7.2Paul Barker2016-12-133-67/+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>
* remove True option to getVar callsJoshua Lock2016-12-021-2/+2
| | | | | | | | | 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>
* toybox: Upgrade to 0.7.1Paul Barker2016-06-085-125/+76
| | | | | | | | | | | | | | | | | | | | 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>
* toybox: Upgrade to 0.7.0Paul Barker2016-05-063-4/+125
| | | | | | | 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>
* toybox: Remove out-of-date patchPaul Barker2016-05-061-388/+0
| | | | | Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "toybox: upgrade to 0.7.0"Martin Jansa2016-03-073-34/+392
| | | | | | | | * 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.
* toybox: upgrade to 0.7.0Alejandro Joya2016-02-253-392/+34
| | | | | | | | | 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>
* toybox: upgrade to 0.6.0Alejandro Joya2015-09-081-4/+5
| | | | | | | | 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>
* toybox: Upgrade to v0.5.2Amarnath Valluri2015-04-242-34/+39
| | | | | | | 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>
* toybox: Upgrade to v0.5.0Paul Barker2014-10-272-16/+34
| | | | | | | 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>
* toybox: New recipe for toybox-0.4.9Paul Barker2014-09-262-0/+429
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>