2004-10-09 03:06:03 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX
|
2005-04-12 22:32:45 +02:00
|
|
|
bool "BusyBox"
|
2004-10-09 03:06:03 +02:00
|
|
|
default y
|
|
|
|
help
|
2017-05-05 16:08:06 +02:00
|
|
|
The Swiss Army Knife of embedded Linux. It slices, it dices,
|
|
|
|
it makes Julian Fries.
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2004-12-26 08:16:38 +01:00
|
|
|
http://busybox.net/
|
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
Most people will answer Y.
|
|
|
|
|
2010-04-02 12:27:21 +02:00
|
|
|
if BR2_PACKAGE_BUSYBOX
|
|
|
|
|
2005-04-12 22:32:45 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_CONFIG
|
|
|
|
string "BusyBox configuration file to use?"
|
busybox: support only one version
This commit removes the version selection for the busybox
package. Busybox is very well maintained, and bugs are typically fixed
in a timely fashion. Moreover, regressions are fairly unlikely in this
very stable and well-tested tool.
Therefore, there isn't a very compelling reason to have a version
selection for Busybox since we don't accept such a version selection
for the vast majority of other packages, unless there is a strong
reason to do so.
Consequently, this commit:
* Removes the 1.19.4, 1.20.2 and 1.21.1 Busybox versions, patches and
default configuration file.
* Moves the 1.22.1 patches from package/busybox/1.22.1 to just
package/busybox/ like all other packages.
* Renames the default 1.22.1 configuration file to just
busybox.config.
* Adapts the busybox.mk makefile to encode the current version to
use.
* Adds appropriate options to Config.in.legacy. However, even though
the BR2_BUSYBOX_VERSION_1_22_X is removed, we don't add a
Config.in.legacy option for it, since it would cause a legacy
warning for virtually *all* users as most people are currently
using 1.22.x.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-01 20:03:09 +02:00
|
|
|
default "package/busybox/busybox.config"
|
2005-04-12 22:32:45 +02:00
|
|
|
help
|
2017-05-05 16:08:06 +02:00
|
|
|
Some people may wish to use their own modified BusyBox
|
|
|
|
configuration file, and will specify their config file
|
|
|
|
location with this option.
|
2005-04-12 22:32:45 +02:00
|
|
|
|
2017-05-05 16:08:06 +02:00
|
|
|
Most people will just use the default BusyBox configuration
|
|
|
|
file.
|
2007-01-17 12:48:11 +01:00
|
|
|
|
2015-04-28 16:34:33 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES
|
|
|
|
string "Additional BusyBox configuration fragment files"
|
|
|
|
help
|
|
|
|
A space-separated list of configuration fragment files,
|
|
|
|
that will be merged to the main BusyBox configuration file.
|
|
|
|
|
2016-07-17 10:44:23 +02:00
|
|
|
# This option is not an option of Busybox, it can be selected even
|
|
|
|
# if Busybox is not enabled.
|
2009-10-15 10:15:47 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
2011-07-27 21:08:21 +02:00
|
|
|
bool "Show packages that are also provided by busybox"
|
2007-09-25 09:55:45 +02:00
|
|
|
help
|
2009-10-15 10:15:47 +02:00
|
|
|
Show packages in menuconfig that are potentially also provided
|
2007-09-25 09:55:45 +02:00
|
|
|
by busybox.
|
|
|
|
|
2015-07-14 22:20:17 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_SELINUX
|
2017-04-22 19:17:49 +02:00
|
|
|
bool "Enable SELinux support"
|
2015-07-14 22:20:17 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
depends on !BR2_STATIC_LIBS
|
2016-06-27 00:39:11 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2015-08-19 20:33:34 +02:00
|
|
|
depends on !BR2_arc
|
2017-04-22 19:17:49 +02:00
|
|
|
select BR2_PACKAGE_LIBSELINUX
|
2015-07-14 22:20:17 +02:00
|
|
|
help
|
|
|
|
Enable SELinux support in BusyBox. Please note that
|
|
|
|
depending on your BusyBox configuration and the SELinux
|
|
|
|
policy implementation, you may want to also enable
|
|
|
|
BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES.
|
|
|
|
|
|
|
|
For instance, if your BusyBox configuration only uses a
|
|
|
|
couple of minor BusyBox features, such as simple command
|
|
|
|
line utilities, the symlinked version of BusyBox can be used
|
|
|
|
to save space. If BusyBox provides more features, such as
|
|
|
|
crond, then individual binaries have to be enabled for the
|
|
|
|
SELinux type transitions to occur properly.
|
|
|
|
|
2017-07-03 23:00:49 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES
|
|
|
|
bool "Individual binaries"
|
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
|
help
|
|
|
|
By default (i.e with this option disabled), Busybox is
|
|
|
|
installed as a single binary in /bin/busybox and all applets
|
|
|
|
are a symbolic link to /bin/busybox.
|
|
|
|
|
|
|
|
With this option enabled, each applet is a separate binary,
|
|
|
|
which is needed for proper operation with SELinux.
|
|
|
|
|
|
|
|
comment "Busybox individual binaries need a toolchain w/ dynamic library"
|
|
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
|
2012-05-04 04:02:13 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_WATCHDOG
|
|
|
|
bool "Install the watchdog daemon startup script"
|
|
|
|
help
|
|
|
|
Install the watchdog daemon startup script,
|
|
|
|
that just start at the boot the busybox watchdog daemon.
|
|
|
|
|
|
|
|
if BR2_PACKAGE_BUSYBOX_WATCHDOG
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD
|
2013-02-18 01:38:31 +01:00
|
|
|
string "Delay between reset"
|
2012-05-04 04:02:13 +02:00
|
|
|
default "5"
|
|
|
|
help
|
|
|
|
Select the number of seconds between each
|
|
|
|
reset of the watchdog (default 5)
|
|
|
|
|
2013-02-18 01:38:31 +01:00
|
|
|
Use ms suffix to specify milliseconds (e.g. 500ms)
|
|
|
|
|
2012-05-04 04:02:13 +02:00
|
|
|
endif
|
|
|
|
|
2010-04-02 12:27:21 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
if !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else
|
|
|
|
|
2017-01-17 23:58:54 +01:00
|
|
|
comment "You may need to enable other packages to get a working system"
|
|
|
|
comment "You better know what you're doing!"
|
|
|
|
|
2016-07-17 10:44:23 +02:00
|
|
|
# This option is not an option of Busybox, it can be selected even if
|
|
|
|
# Busybox is not enabled. This dummy option ensures that packages that
|
|
|
|
# depend on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS are visible when Busybox
|
|
|
|
# is disabled.
|
2010-04-02 12:27:21 +02:00
|
|
|
config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
2013-11-11 17:23:23 +01:00
|
|
|
default y
|
2010-04-02 12:27:21 +02:00
|
|
|
endif
|