summaryrefslogtreecommitdiff
path: root/package/busybox
AgeCommit message (Collapse)Author
2017-01-21busybox: bump version to 1.26.2Peter Korsgaard
And drop patches now upstream. Also enable internal glob() handling in ash, as busybox now errors out if this isn't enabled when building for uClibc because of bugs in the the glob(3) implementation in uClibc and musl since: commit 3a4cdf45f928de0af09088bbbb96f60d9ac44e87 Author: Denys Vlasenko <vda.linux@googlemail.com> Date: Wed Dec 21 04:13:23 2016 +0100 ash: error out if ASH_INTERNAL_GLOB is not selected on uClibc Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-20busybox: add comment that other packages are neededArnout Vandecappelle
Inspired on the confusion in [1], we want to warn the user that building without busybox may not lead to a working system. [1] https://bugs.busybox.net/show_bug.cgi?id=9526 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-30package/busybox: add patch to fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONSJörg Krause
Upstream commit a8c696bf09d8151323f6e99348c4bc8989f829c8 makes ifup and ifdown individually selectable, but forgets to update the dependency to IFUPDOWN_UDHCPC_CMD_OPTIONS, so it is not selectable anymore. Add a patch which fixes the dependency by checking for IFUP or IFDOWN, instead of the obsolete IFUPDOWN. Upstream status: Pending http://lists.busybox.net/pipermail/busybox/2016-December/085034.html Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-30package/busybox: update minimal configuration fileJörg Krause
Commit 44a563dbc04ec8e51c5262201cd1745617055b78 bumps busybox to version 1.26.0, but does not update the minimal configuration file. There is at least one issue using the old configuration with the newer busybox: * IFUPDOWN is split into IFUP and IFDOWN in version 1.26.0 Update the minimal configuration file by loading the busybox.config file and saving it back. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-30package/busybox: update configuration fileJörg Krause
Commit 44a563dbc04ec8e51c5262201cd1745617055b78 bumps busybox to version 1.26.0, but does not update the configuration file. There is at least one issue using the old configuration with the newer busybox: * IFUPDOWN is split into IFUP and IFDOWN in version 1.26.0 Update the configuration file by loading the busybox.config file and saving it back. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-27busybox: fix modutils compileWaldemar Brodkorb
Do not use syscall wrappers from uClibc. Patch submitted upstream: http://lists.busybox.net/pipermail/busybox/2016-December/085031.html Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-20busybox: adjust nommu swaponoff handling for busybox 1.26.0+Peter Korsgaard
Fixes: http://autobuild.buildroot.net/results/dfe/dfec2c0626ab087325fd869bcbe0b9dc354d788c/ Busybox 1.26.0 gained separate config options for swapon / swapoff: commit f417ffd88f194bbfd18605882ee242190c1bab34 Author: Denys Vlasenko <vda.linux@googlemail.com> Date: Mon Nov 14 17:30:50 2016 +0100 Make swapon and swapoff individually selectable. For example, without swapoff, code shrinks by 277 bytes. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> So adjust busybox.config and the logic to disable these applets for nommu builds for the new names. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-20busybox: bump to version 1.26.0Gustavo Zacarias
Drop upstream patch. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-11-23busybox: disable build timestamps for reproducible buildsGilles Chanteperdrix
Busybox includes some information about the build environment in its binary. For BR2_REPRODUCIBLE, remove that information. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-07busybox: allow the user to set the telnetd optionsMichael Walle
Source /etc/default/telnet to make it possible to override the telnetd arguments. For example a user may want to set an alternative port. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-11busybox: bump to version 1.25.1Gustavo Zacarias
Drop upstream patches. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-19busybox: fix double free in top causing a SIGABRT storm after SIGPIPELuca Ceresoli
On some platforms the command 'top -n1 | head' goes very often into an infinite loop of SIGABRT and double free()s. Fix by applying a patch from upstream Busybox. For a detailed explanation of the bug, see http://lists.busybox.net/pipermail/busybox/2016-August/084555.html Thanks to Yann for the help in finding this bug. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-17busybox: add upstream fixes for 1.25.0Gustavo Zacarias
Add upstream patches to fix gzip (bug #9131 - incorrect compression levels), ip (route add bug) and ntpd (CVE-2016-6301 - NTP server denial of service). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-18package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERSYann E. MORIN
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is a bit special. When Busybox is enabled, it is a Busybox option. When Busybox is not enabled, it is a stand-alone option, forcibly enabled. So we can safely 'select' it without ensuring (via a 'depends on' or another 'select') that Busybox is enabled. However, the name of this option does not express the fact that it is safe to select it without checking Busybox, which can lead to a bit of time-consuming head-scratching. To avoid future puzzlement from an unsuspecting observer, add a a big fat comment that this option can be selected without any dependency on Busybox. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Romain Naour <romain.naour@openwide.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> [Thomas: slightly improve the wording of one of the comment.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-02package/busybox: support spaces in module aliases in mdevAndy Shevchenko
The new change which enabled automatic module loading on boot does not handle the cases when module alias includes spaces. It prevents modules to be loaded since script fails: % find /sys/ -name modalias | xargs sort -u sort: /sys/devices/platform/Fixed: No such file or directory First alias in question is "platform:Fixed MDIO bus". Amend the script to support above like cases. Fixes: 07f46c2b6dae ("package/busybox: support automatic module loading with mdev") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01package/busybox: enable ttyUSB[0-9] when using mdevAndy Shevchenko
Some of our systems are using ttyUSB0 devices as a serial console. Add them to mdev. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01libselinux: bump to version 2.5Adam Duskett
In addition, if a user is using glibc 2.22, the default CFLAG D_FILE_OFFSET_BITS=64 will cause a compile error. This flag is now removed from the CFLAGS in the make file to ensure that toolchains compiled against glibc 2.22 will build the new version of the package properly. In addition, libselinux now uses fts(), which is not available on musl, and not provided by our default uClibc configuration. Therefore, libselinux now depends on glibc, as well as all its reverse dependencies. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: add glibc dependency for fts().] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-23busybox: disable nsenter/unshare in default configGustavo Zacarias
These require newer toolchain components. Since they didn't exist in previous versions no functionality is lost. Fixes: http://autobuild.buildroot.net/results/b63/b6312626b3938555c4e5a68ad42f6951b02d7760/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-22busybox: bump to version 1.25.0Gustavo Zacarias
Also drop upstream patches. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-07package/busybox: use the generic help rulesYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: don't use a helper.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-11m68k: fix open issues with qemu coldfireWaldemar Brodkorb
Enable kernel drivers for networking and add a simple busybox config with basic network tools. Add kernel patch from Linux git to fix hush segfaults while using signal handler. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-30move busybox-minimal.config to be used by other noMMU targetsWaldemar Brodkorb
Config can be used by other noMMU targets as qemu-system-m68k with coldfire emulation. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-24busybox: Support option 119 in udhcpc default script.Ignacy Gawędzki
* package/busybox/udhcpc.script: Use $search instead of $domain if that is defined. Note that for this to work, not only has CONFIG_FEATURE_UDHCP_RFC3397 be enabled in Busybox' configuration but also the option has to be requested using the "-O search" command-line option (one can set it in CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS, for instance). [Peter: add comment with reference to rfc3359/option 119 for clarity] Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-25busybox: security bump to version 1.24.2Gustavo Zacarias
The version bump doesn't inherently fix the security issues, however the added CVE patches do, which fix: CVE-2016-2147 - out of bounds write (heap) due to integer underflow in udhcpc. CVE-2016-2148 - heap-based buffer overflow in OPTION_6RD parsing. Drop patches that are upstream as well. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-23busybox: use md5 as default password algorithmGustavo Zacarias
DES is terribly outdated and a security vulnerability. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-09package/busybox: support automatic module loading with mdevPeter Korsgaard
A recently discussed on the mailing list: http://lists.busybox.net/pipermail/buildroot/2016-February/154189.html Our mdev configuration currently doesn't handle module loading. Fix that by: - Telling mdev to run modprobe on hotplug events providing MODALIAS - Adjust the init script to handle coldplug modalias events (E.G. modules for which the devices were already present before mdev was added as the hotplug handler). mdev -s should arguable handle this, but it doesn't. Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-09busybox: Make S01logging source a default fileNicolas Cavallari
The default syslog parameters are to keep only 200-400 KiB of logs, which is very few if there is a spammy daemon on the system, or a daemon that fails and then spams errors that hides the original problem. Make S01logging source a /etc/default/logging file where these parameters can be overridden. Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-04busybox: tweak IPv6/largefile handlingPeter Korsgaard
Fixes #8736 When IPv6 and largefile options were removed from Buildroot, the code to force these options in busybox were still left in. There's no strong reason to forcefully enable these options (only to disable options if the system cannot support it like we do for nommu), so instead enable the options in our default defconfig, allowing people to override this if they use a custom config. While we're at it, enable the prefer-ipv4 option so network applets like ntpd doesn't fail when dual stacked hosts are resolved from a system without IPv6 support enabled in the kernel. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-02-01busybox: add truncate fix patchGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03inittab: disable reboot by ctrl-alt-dellothar felten
Most embedded systems do not have a keyboard. If a keyboard is attached afterwards (e.g. to an accessible USB host port) this allows the user to reboot the system by pressing Ctrl-Alt-Del, which might not be desired. Signed-off-by: lothar felten <felten@vaxnet.de> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-12-02busybox: add another upstream patch to fix (g)unzipArnout Vandecappelle (Essensium/Mind)
0002-unzip.patch was added in 69516e0 to fix a segmentation fault in the gunzip applet. However, it introduced a new issue that made the unzipping of some files fail. Add an upstream patch that fixes this new issue. Fixes #8501. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Jason Rush <rush0033@hotmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-11-13busybox: add upstream unzip segv patchGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-29busybox: bump to version 1.24.1Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-18busybox: fix musl build issuesThomas Petazzoni
Musl doesn't implemented wmtp, and its utmp support is not sufficient to build the latest versions of Busybox, so let's disable wtmp and utmp support in Busybox for musl toolchains. We re-use an existing define BUSYBOX_INTERNAL_SHADOW_PASSWORDS that was used to do some musl-related tweaks to the Busybox configuration around shadow password functions, and extend it to also do the utmp/wtmp tweaks. In the process, we rename the define to BUSYBOX_MUSL_TWEAKS. Note that BUSYBOX_KCONFIG_FIXUP_CMDS continues to call BUSYBOX_INTERNAL_SHADOW_PASSWORDS because there is another definition of this macro under other conditions. Fixes: http://autobuild.buildroot.org/results/b96/b96ffad13bca5e6fbf7ce79538aacbfe27b1eff3/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-15busybox: enable fully featured hush shell for nommuGustavo Zacarias
As pointed by Rich Fekler on IRC the basic hush shell is pretty much useless since it doesn't support if conditionals, loops, functions, case or even interactive mode. So enable the full feature-set. Size delta: +10184 bytes uncompressed for blackfin fdpic. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-14busybox: bump to version 1.24.0Vicente Olivert Riera
Disable CONFIG_FEATURE_SYNC_FANCY in the busybox.config because that option causes build failures for any uClibc based toolchains since it requires syncfs() support, which doens't exist in uClibc. This new option has been introduced in 1.24.0, so despite of disabling it, we are not losing anything that we had before. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-04package: Replace 'echo -n' by 'printf'Maxime Hadjinlian
'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-03busybox: inittab: don't redirect output to /dev/nullLuca Ceresoli
Several inittab steps are redirected to /dev/null. This means any error or warning printed by these crucial commands would be hidden from the user. There is no evident reason to hide this output, so stop doing that. Suggested by Thomas Petazzoni: http://lists.busybox.net/pipermail/buildroot/2015-September/139146.html Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-08-19libselinux: mark as not available on ARCThomas Petazzoni
libselinux causes some build problems due to the toolchain on ARC, which haven't been solved so far. As a temporary solution for Buildroot 2015.08, this commit makes libselinux (and its reverse dependencies) unavailable on ARC. Of course, once the toolchain problem is addressed, this commit can be reverted to re-enable libselinux on ARC. Fixes: http://autobuild.buildroot.org/results/220/2207f6aad44a6988bf07b02b583b6418ad930dc8/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-07-26busybox: use pkg-config for libtirpc flagsThomas De Schampheleire
Instead of hardcoding the flags needed for libtirpc, use pkg-config. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-20Revert "busybox: added linux-pam support"Baruch Siach
This reverts commit 083aeac94e19cde6abd4b29cf29db589327d8c49. Commit f21b2558a097 (busybox: added linux-pam support, 2015-06-02) added linux-pam support already, no need to do this again. Commit 083aeac94e19 (busybox: added linux-pam support, 2015-07-14) also effectively annulled the build failure fix from commit 98e1848db11e (busybox: PAM support needs thread support, 2015-07-04). Revert it. Fixes: http://autobuild.buildroot.net/results/8df/8df14bde19a41b78aa6422a1649a570914f747ee/ http://autobuild.buildroot.net/results/30d/30dd11b576b590de513031fce5e034353f2f5544/ http://autobuild.buildroot.net/results/de6/de628d84b0ed49be8f5d021c789357b2e66f2b02/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-18busybox: added linux-pam supportMatt Weber
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-18busybox: selinux supportClayton Shotwell
Add a configure option to enable the SELinux support in the busybox configuration from the Buildroot menuconfig. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-14package: fix fallout from checking kconfig config filesYann E. MORIN
Those checks should only be done when the package is actually enabled. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-14package/busybox: check for config fileYann E. MORIN
Add a check (before we call kconfig-package) that ensures the user has set a kconfig-file. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-14initscripts: new packageMaxime Hadjinlian
The folder init.d is currently installed by default since it's part of our skeleton. This patch creates a package out of it and make busybox/sysvinit depends on it. This way, if you chose another init, you don't end up with a useless init.d folder. [Thomas: - make the initscripts package selectable via a hidden bool - remove some unneeded changes in sysvinit.mk.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-13busybox: improve support for telnetdAlexey Brodkin
If target has connection to the network it might be pretty useful to have telnet connection to it instead of serial console or even in addition to serial console. This changes makes the busybox package automatically install an init script, and tune the securetty file to make telnetd work when CONFIG_FEATURE_TELNETD_STANDALONE is enabled in the Busybox configuration. [Thomas: - don't create a new Buildroot Config.in option, just test if CONFIG_FEATURE_TELNETD_STANDALONE is enabled or not in the Busybox configuration - move the securetty tuning in busybox.mk instead of system.mk - use start-stop-daemon in the init script, in order to properly implement the stop and restart actions - misc other minor improvements in the init script.] [yann.morin.1998@free.fr: - don't use securetty - drop stray variable BUSYBOX_SET_STANDALONE_TELNETD] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-11busybox: Install udhcpc script only if enabledMaxime Hadjinlian
It doesn't make sense to install such a scripts if UDHCPC was not selected. Also remove the entry from BUSYBOX_PERMISSIONS as the install command does the same job. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-11busybox: adjust configuration to add fancy options to the sleep appletSylvain Raybaud
Set CONFIGURE_FEATURE_FANCY_SLEEP and CONFIG_FEATURE_FLOAT_SLEEP so that sleep accept floating point arguments. This add 492 bytes to the busybox binary compiled for arm or 2748 bytes when compiled for i386. Signed-off-by: Sylvain Raybaud <sylvain.raybaud@green-communications.fr> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-04busybox: PAM support needs thread supportThomas Petazzoni
In commit f21b2558a097d07b53b6f20a47770468e9e4f7ed ("busybox: added linux-pam support"), we added optional support for PAM in Busybox. However, this support requires the toolchain to have thread support, which causes build failures with non-thread capable toolchains. This commit therefore enables Busybox PAM support only if the linux-pam package is available *and the toolchain has thread support. Fixes: http://autobuild.buildroot.org/results/1a3/1a380aaca9303b67cc59165d56cf12f35966fe26/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>