Commit Graph

352 Commits

Author SHA1 Message Date
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
Maxime Ripard
c7746857d1 Convert busybox to the device declaration method
Busybox used to declare and create files even if the package was not
enabled through the device table. Remove the entries for busybox in the
device table and move them to the package declaration.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01 23:04:49 +01:00
Peter Korsgaard
0e80ba1779 busybox: add 1.19.3 mdev fix
For details, see
http://lists.busybox.net/pipermail/busybox/2012-January/077236.html

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-30 14:44:06 +01:00
Thomas Petazzoni
b12dfaf15c busybox: enable CONFIG_FEATURE_MDEV_RENAME
Our default mdev.conf file in package/busybox has lines like:

  pcm.*           root:audio 660 =snd/
  event[0-9]+     root:root 640 =input/

that are used to create the device is the appropriate /dev
subdirectory. However, this feature requires
CONFIG_FEATURE_MDEV_RENAME to be enabled, otherwise mdev complains
with:

  mdev: bad line 25

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-02 22:49:44 +01:00
Peter Korsgaard
2d7d697fbf busybox: add 1.19.3 for wget redirect handling
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-18 22:00:33 +01:00
Peter Korsgaard
468f1cac8a busybox: remove old unused quirk handling
The definition of these variables were removed back in June
(7d814728 / f1e4aac4).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-23 23:36:32 +01:00
Thomas De Schampheleire
96474df156 busybox: rename busybox-update to busybox-update-config
The original name busybox-update is confusing as it only updates a
configuration file.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-11 20:14:22 +01:00
Gustavo Zacarias
9d885487ea busybox: add 1.19.3 getty and modinfo fixes
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-02 09:34:34 +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
Philippe Pepiot
9d7c922c5c busybox: Fix syntax error when installing S10mdev
Signed-off-by: Philippe Pepiot <phil@philpep.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-26 23:17:42 +02:00
Peter Korsgaard
6161049aed busybox: only install S01logging / S10mdev if not present in fs skeleton
To allow custom syslogd / mdev configutations.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-18 15:04:23 +02:00
Gustavo Zacarias
41ea5c9ff3 busybox: add 1.19.2 tftp fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-08 13:45:57 +02:00
Thomas Petazzoni
0849e8193e package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:09:58 +02:00
Peter Korsgaard
f83cacf3b5 busybox: add 1.19.2 tail fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-26 21:35:12 +02:00
Gustavo Zacarias
fa7e650710 busybox: add new 1.19.2 fixes and drop stale config
Drop stale config file for busybox 1.13.x
Add build system and syslogd fixes for 1.19.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 07:59:10 +02:00
Peter Korsgaard
d97542c6d8 busybox: add 1.19.2 fixes for chpasswd, crond and inetd.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-11 22:36:36 +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
Benoit Mauduit
80eeabc55d busybox: Add busybox-xconfig and busybox-gconfig rules
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-24 23:57:16 +02:00
Peter Korsgaard
4ec2e3bb53 busybox: busybox-1.18.x.config: enable blkid applet
Needed by usbmount.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-21 22:45:49 +02:00
H Hartley Sweeten
72eb844be6 Fix colon location in S01logging script
The S01logging script currently displays the start/stop messages like this:

Start logging :OK

The normal form for these messages is:

Start logging: OK

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-13 08:14:41 +02:00
Luca Ceresoli
fc71f7e6f2 busybox: provide /etc/mdev.conf if mdev is used
Without an mdev.conf file installed, mdev generates some /dev entries in
an incorrect or non-standard way. Some examples:
 1. /dev/null has permissions 660, but it should be accessible to normal
    users;
 2. alsa devices get created in /dev, not /dev/snd as is more common,
    and as the default value of BR2_PACKAGE_ALSA_LIB_DEVDIR suggests;
 3. event<N> files are created in /dev, not /dev/input.

This mdev.conf is a selection from the examples provided in the busybox
sources with minor tweaks.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 13:41:25 +02:00
Peter Korsgaard
abf7af17e9 busybox: only install S01logging if syslogd applet is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 21:03:37 +02:00
Maxime Ripard
ad501b6634 Rework the logging daemons startup
The logging mechanism startup being in inittab, it isn't easy to
overcharge the default policy. With this patch, the startup of the
syslog daemon is moved to an init.d script, that can easily be
overwritten.

[Peter: use install -D]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 20:57:10 +02:00
Maxime Ripard
7d814728ae Remove obsolete code in busybox.mk
Remove this quirk since the tested code is no longer present in busybox
since 1.10.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 10:18:21 +02:00
Maxime Ripard
f1e4aac40e busybox: remove quirk for old unsupported versions
This code is no longer useful, since the oldest version supported by
Builroot is 1.16.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 08:13:48 +02:00
Thomas Petazzoni
85e54a6b77 busybox: adjust configuration for non-MMU targets
The swaponoff applet doesn't build (and doesn't make sense) on non-MMU
platforms.

The ash shell cannot build on non-MMU platforms (because it uses
fork()), so select the hush shell instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 21:52:52 +02:00
Thomas Petazzoni
837a85e70c busybox: tune config according to BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12 21:52:19 +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
Gustavo Zacarias
e860d5f5d1 busybox: add hush patch for version 1.18.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-16 15:20:22 +02:00
Yegor Yefremov
726b15f64a Create menu entry to select device creation method
Four methods for the creation of device files in /dev are now
proposed:

 - static method uses device table as before
 - devtmpfs method enables this feature in kernel
 - mdev method adds mdev starting script to the file system
    and selects mdev itself for installation
 - udev method selects udev for installation

All dynamic methods are based on devtmpfs, so one doesn't need to care
about /dev folder.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-09 14:20:03 +02:00
Peter Korsgaard
2c97608387 busybox: ensure source gets downloaded/extracted/patched before -menuconfig
Closes #3511

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28 21:33:26 +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
Peter Korsgaard
03a5df1353 busybox: 1.18.3 cksum fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-12 00:03:52 +01:00
Gustavo Zacarias
eb2ebf9490 busybox 1.18.3: add patches for klogd and menuconfig
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-10 14:39:57 +01:00
Gustavo Zacarias
85a9a4d01e busybox 1.18.3: add wget and build system patches
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 20:14:33 +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
9f31e2ffa0 busybox: 1.18.2 fixes for ping, tar and udhcp
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-06 21:48:53 +01:00
Peter Korsgaard
3fa18d27d3 busybox: add 1.18.2 libbb fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 19:49:50 +01:00
Gustavo Zacarias
9384f00cce busybox: add 1.18.2 modprobe fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-04 19:49:33 +01:00
Peter Korsgaard
87cb38b928 busybox: 1.18.2 fix for wc
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-24 17:04:28 +01:00
Peter Korsgaard
dea0b13403 busybox: add 1.18.2 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-19 09:08:45 +01:00
Kim Jae-hui
0705e448a4 busybox: fix busybox-menuconfig after 69df644f5
Closes #3109

Pass the correct -C <dir> option to make menuconfig.

Signed-off-by: Kim Jae-hui <twinkle.j4k@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-18 09:23:40 +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
Mike Frysinger
ca2b65a651 busybox: let buildroot handle stripping
For some ABI's (like FLAT), we cannot strip busybox as the file format
does not support it and strip will abort with errors like 'File format
not recognized'.  Since the toplevel already takes care of stripping
things, simply disable the busybox step.

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11 10:50:13 +01:00
Mike Frysinger
69df644f5c busybox: unify duplicated build steps
This does set a few more vars in some steps that weren't set before, but
they should be harmless in the contexts in question.  And the resulting
save in duplication is nice.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11 10:49:47 +01:00
Gustavo Zacarias
49318cb92d busybox: add/update 1.18.1 fixes for hush, mkswap, modprobe, tftp and procps
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11 00:18:22 +01:00
Peter Korsgaard
bd891474cc busybox: 1.18.1 fixes for bzip2 and cpio
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-30 08:45:29 +01:00
Gustavo Zacarias
4ee01c268d busybox 1.18.1: add hush fix
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-22 23:47:13 +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