Commit Graph

121 Commits

Author SHA1 Message Date
Arnout Vandecappelle
8f290a21d0 busybox: add comment that other packages are needed
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>
2017-01-20 14:11:15 +11:00
Yann E. MORIN
781c85eb38 package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
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-18 23:29:01 +02:00
Adam Duskett
ebcca24c95 libselinux: bump to version 2.5
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-07-01 11:06:05 +02:00
Thomas Petazzoni
881845f5fc libselinux: mark as not available on ARC
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-08-19 23:06:59 +02:00
Clayton Shotwell
b0b3dc5612 busybox: selinux support
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-18 14:55:45 +02:00
Floris Bos
73e8345c98 busybox: add option to specify config fragments
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-21 23:50:34 +02:00
Gustavo Zacarias
757e9c4c2a package: kill pointless text justification
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-23 09:47:08 +02:00
Thomas Petazzoni
b18dca0df8 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-10 16:40:38 +02:00
Gustavo Zacarias
62ca653d55 busybox: bump 1.22 series to 1.22.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-20 22:20:31 +01:00
Thomas De Schampheleire
ba4ad9d27c deprecated handling: introduce BR2_DEPRECATED_SINCE_xxxx_xx
In order to keep better track of when a feature got deprecated, and hence
when it can be removed, a new set of symbols BR2_DEPRECATED_SINCE_xxxx_xx is
introduced. These symbols are automatically selected when BR2_DEPRECATED is
selected, and thus are transparent to the user.
A deprecated feature will no longer depend on BR2_DEPRECATED directly, but
rather on the appropriate BR2_DEPRECATED_SINCE_xxxx_xx. If that symbol does
not yet exist, it has to be created in Config.in.
When removing a deprecated feature, one should also check whether this was
the last feature using the BR2_DEPRECATED_SINCE_xxxx_xx symbol, in which
case the latter can be removed from Config.in.

A followup patch will make sure the overview is added to the list of
deprecated features in the manual, so that a buildroot core developer can
easily determine which features to remove in a given development cycle.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-10 15:03:53 +01:00
Gustavo Zacarias
4e8dadfe4b busybox: add 1.22.x series, deprecate 1.19.x
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-01 18:16:25 +01:00
Thomas De Schampheleire
bed4e27868 Config.in files: whitespace cleanup
This patch fixes the following whitespace problems in Config.in files:
- trailing whitespace
- spaces instead of tabs for indentation
- help text not indented with tab + 2 spaces

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-11 22:19:30 +01:00
Gustavo Zacarias
72da1a3464 busybox: bump 1.21.x series to 1.21.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-29 21:02:51 +02:00
Simon Dawson
34945ebbd0 busybox: support millisecond watchdog periods
The BusyBox watchdog application supports reset periods specified in
milliseconds. The Buildroot package will only allow an integer reset period,
which prevents the use of the required "ms" suffix. Change the watchdog period
configuration item to a string, to allow the use of the "ms" suffix.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-18 22:30:42 +01:00
Gustavo Zacarias
198388ba4c busybox: add 1.21.x series
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-21 23:38:24 +01:00
Gustavo Zacarias
6f62ce55f0 busybox: remove deprecated 1.18.x
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-10 21:51:19 +01:00
Gustavo Zacarias
aaa8125a93 busybox: bump 1.20.x series to 1.20.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-07-02 20:24:21 +02:00
Peter Korsgaard
8a1e83823d busybox: bump 1.20.x version
Bugfix release.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-28 09:25:17 +02:00
Fabio Porcedda
07639ff186 busybox: add watchdog daemon startup script
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-06 22:43:52 +02:00
Gustavo Zacarias
b59f9e1562 busybox: add new 1.20.0, remove deprecated, mark 1.18.x deprecated
Add version 1.20.0, remove deprecated 1.16.x & 1.17.x versions and mark
1.18.x as deprecated.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-29 10:51:14 +02:00
Peter Korsgaard
7a7bd4b873 busybox: bump 1.19.x stable version
Identical to 1.19.3 + patches.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-14 10:51:12 +01:00
Peter Korsgaard
f3c4d8e533 busybox: bump 1.19.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-29 15:00:22 +02:00
Gustavo Zacarias
3f346b7b85 busybox: add 1.19.x branch and cleanup
Add busybox version 1.19.2 for the 1.19.x branch.
Remove deprecated 1.15.x branch.
Mark 1.16.x and 1.17.x branches deprecated as suggested by Thomas.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-06 21:53:25 +02:00
Peter Korsgaard
4e3ae5ccab busybox: BR2_PACKAGE_BUSYBOX_SHOW_OTHER: remove conditional check
It is already within an 'if BR2_PACKAGE_BUSYBOX' section.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 21:10:13 +02:00
Peter Korsgaard
47d8534c12 busybox: bump 1.18.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 20:41:57 +02:00
Peter Korsgaard
27c152db06 busybox: bump 1.18.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-13 21:08:26 +01:00
Gustavo Zacarias
a5f97bb41c busybox: bump to version 1.18.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09 22:43:25 +01:00
Peter Korsgaard
a7f298dcba busybox: bump 1.18.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-16 20:12:38 +01:00
Peter Korsgaard
c482c5ab6f busybox: get rid of BR2_PACKAGE_BUSYBOX_FULLINSTALL
As discussed on IRC, this only needs to be disabled for very specific
configurations, and it can nowadays be done with a custom busybox
.config (CONFIG_INSTALL_APPLET_DONT), so get rid of the option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21 20:25:29 +01:00
Peter Korsgaard
a7472011ae busybox: clarify BR2_PACKAGE_BUSYBOX_FULLINSTALL description
Explicitly explain what the (default) install target does, so people who
don't know busybox details understands what the option does.

Notice: Busybox can be configured to create hard links or shell wrappers
instead, but by default symlinks are used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21 14:23:09 +01:00
Peter Korsgaard
5366b4fa99 busybox: bump 1.18.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21 09:39:33 +01:00
Peter Korsgaard
bf5c0c8ab0 busybox: default to 1.18
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-11 02:20:52 +01:00
Gustavo Zacarias
51f3f96498 busybox: add 1.18.0, remove 1.13.x and 1.14.x, mark 1.15.x as deprecated
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-11 02:18:42 +01:00
Peter Korsgaard
3ac0c241d5 busybox: bump 1.17.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-23 12:20:23 +01:00
Peter Korsgaard
6156924c2b busybox: bump 1.17.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-11 14:24:25 +02:00
Gustavo Zacarias
f661b023ab busybox: Bump to 1.17.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-05 22:51:37 +02:00
Peter Korsgaard
deb51ad988 busybox: bump 1.17.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 10:03:42 +02:00
Dmytro Milinevskyy
d9119c0bc5 move default skeleton to fs/ and drop busybox skeleton
[Peter: fixup patch, adjust for busybox.mk changes]
Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 23:08:55 +02:00
Peter Korsgaard
7add5f57f9 busybox: default to v1.17.x
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12 15:44:43 +02:00
Gustavo Zacarias
3169aae85e busybox: add 1.17.0, convert to gentargets, drop 1.12, deprecate 1.13 and 1.15
Closes #2167

[Peter: fix CONFIG_ID workaround for old uClibcs]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12 13:32:38 +02:00
Peter Korsgaard
6ed87eac98 busybox: bump 1.16.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 09:45:38 +02:00
Thomas Petazzoni
02bc426214 Get rid of all usages of BR2_RECENT
Since BR2_RECENT was enabled by default, we do not want entries marked
BR2_RECENT (and thus appearing by default in Buildroot) to disappear.

Therefore, all the entries marked BR2_RECENT are converted as
non-deprecated. We can later decide, on a per-entry basis, to add
BR2_DEPRECATED to some of them. But at least, this commit doesn't
change the default current behaviour of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-12 15:26:37 +02:00
Peter Korsgaard
b5e844815f busybox: indent sub options
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 12:29:37 +02:00
Peter Korsgaard
daf938aa66 busybox: bump 1.16.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-29 11:29:30 +02:00
Peter Korsgaard
fbf84d42b6 busybox: add 1.16.x specific defconfig
Closes #1003.

Several config options have gotten renamed in 1.16, making the 1.13.x
defconfig not enable the stuff we want.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-31 22:13:45 +01:00
Peter Korsgaard
99f74cbec5 busybox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-26 08:36:28 +01:00
Peter Korsgaard
617aa4995a busybox: bump 1.15.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12 23:41:16 +01:00
Peter Korsgaard
bbbdf45f0e package: show packages with busybox alternatives if busybox is disabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 14:44:47 +01:00
Peter Korsgaard
524b203588 busybox: invert hide option
Invert the BR2_PACKAGE_BUSYBOX_HIDE_OTHERS option to use positive logic,
renaming it to _SHOW_OTHERS.

Positive logic is simpler to understand, and it makes all{,package}config
do the right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-15 10:18:51 +02:00
Peter Korsgaard
6ef1705c42 busybox: bump 1.15.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-08 21:11:13 +02:00