aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox
AgeCommit message (Collapse)Author
2014-11-09ncurses, busybox, cml1.bbclass: Fix menuconfig display corruptionJason Wessel
Previously there was a change to the ncurses compile to make it more like the typical way it was compiled on a host system. This fixed a whole class of host machines, but masked the real underlying problem with the display corruption issues and menuconfig. The corner case that led to the discovery that the wrong curses.h file was getting used was when there was no curses libraries at all on one of the development hosts. What had happened before was that /usr/include/curses.h on the host system had to match closely enough to the curses.h in the sysroot and then linking against the sysroot version of curses.so was ok (meaning no display corruption). But on some systems with ncurses.h vs curses.h such as SuSE hosts, there were still issues. If we fix the root of the problem and force the mconf and lxdialog to use the correct headers and libraries from the sysroot there is no further issues and the menuconfig target works properly. It also means we can back out the custom compilation flags to the ncurses recipe because they are no longer needed. For the kernel part of the menuconfig / nconfig changes it will be merged separately and this is all based on: https://lkml.org/lkml/2013/3/3/103 Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-08-23fixupRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23busybox: enable `tar -m`Richard Tollerton
CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y is needed for the commit "udev-cache: strip timestamps on extract". Enabling this flag increases the size of busybox by 0 bytes on x86. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-11busybox: Add Upstream-Status to patchSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-08-06busybox: Make busybox connman awareSaul Wold
This change makes busybox aware of both connman and the standard dhcp client, while there is a caveat about using busybox's ifup/ifdown, this change will make the 3 possibly dhcp clients behave better when busybox is used. Enable the CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP feature to busybox will search for various external clients and then add connman as an external client. [YOCTO #6521] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-19busybox: enable CONFIG_FEATURE_AWK_LIBM by defaultHongxu Jia
It was required by tzselect which is provided by eglibc utils. The eglibc is a fundamental package, so enable math functions of awk is reasonable. Here is the error if we not enable that: ... root@qemuarm:~# tzselect -c +4852+00220 awk: cmd. line:39: Math support is not compiled in ... [YOCTO #6544] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05busybox: Specify '-nostdlib' when linking to a .o file.Drew Moseley
Ensure that linking to the built-in.a file uses the 'nostlib' option. Submitted to busybox mailing list here: http://lists.busybox.net/pipermail/busybox/2014-March/080730.html This has been accepted into upstream busybox so it will not be needed for future versions. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-23busybox: disable fsck.minix and mkfs.minixJonathan Liu
The MINIX and MINIX 2 filesystems are not really used anymore. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02busybox: upgrade to stable 1.22.1Chen Qi
Upgrade busybox to the stable release 1.22.1. During this upgrade, 9 patches are removed. Reasons are detailed below. The following 6 patches are removed as they have been merged. meta/recipes-core/busybox/busybox/busybox-lineedit-initialize-delptr.patch meta/recipes-core/busybox/busybox/busybox-list-suid-and-non-suid-app-configs.patch meta/recipes-core/busybox/busybox/busybox-sed-fix-sed-clusternewline-testcase.patch meta/recipes-core/busybox/busybox/busybox-sulogin-empty-root-password.patch meta/recipes-core/busybox/busybox/find-get-rid-of-nested-functions.patch meta/recipes-core/busybox/busybox/testsuite-du-du-k-works-fix-false-positive.patch The following three patches are removed because they are mainly about moving binaries from /bin to /usr/bin to make the update-alternative work correctly at rootfs time. We can easily solve this problem by changing recipes. There's no compelling reason why such patches are needed. meta/recipes-core/busybox/busybox/run-parts.in.usr-bin.patch meta/recipes-core/busybox/busybox/stat-usr-bin.patch meta/recipes-core/busybox/busybox/watch.in.usr-bin.patch Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-10busybox: lineedit: initialize delptrMing Liu
In vi mode, the 'p' and 'P' commands caused a segfault when nothing had been put in the buffer yet because the delptr was not initialized. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-10busybox: enable SEAMLESS_XZ by defaultChen Qi
We have enabled SEAMLESS_GZ and SEAMLESS_BZ2 in defconfig, it's reasonable for us to enable SEAMLESS_XZ as well. Otherwise, we couldn't extract tar.xz file while we could extract tar.gz file. Such situation would be somewhat confusing. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-12-16busybox: get rid of nested functions in findMuhammad Tauqir Ahmad
This allows us to compile busybox using clang. Nested functions is a gcc extension not supported by clang. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-29busybox: add busybox_git.bb recipeChen Qi
Add busybox_git.bb recipe so that it would be easier to hack with busybox. Set DEFAULT_PREFERENCE to "-1" in the git recipe so that we still use the busybox_1.21.1.bb recipe by default. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>