summaryrefslogtreecommitdiffstats
path: root/package/busybox
Commit message (Collapse)AuthorAgeFilesLines
* busybox: don't use kernel headers directlyThomas Petazzoni2013-07-031-2/+1
| | | | | | | | The kernel headers are part of the staging directory, so there is no reason to point the Busybox CFLAGS directly to them. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: bump 1.21.x series to 1.21.1Gustavo Zacarias2013-06-295-821/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: udhcpc.script: fix resolv.conf handling with multiple interfacesPeter Korsgaard2013-06-261-3/+16
| | | | | | | | | | | | | | | | | | | | | When udhcpc is used on multiple network devices at the same time (or a mix of dhcp and fixed configuration), /etc/resolv.conf should contain the union of information from all the interfaces. Currently that's not the case. The udhcpc script simply overwrites resolv.conf with the information from the specific interface on each dhcp bound/renew event. Fix it by tagging lines with the interface they came from when added, and drop the affected lines on deconfig/renew. As /etc/resolv.conf is often a symlink to /tmp (and rootfs might be read only), special care has to be taken when it is updated. Notice that I'm not really aware of any official documentation requiring that '#' comments in /etc/resolv.conf must be supported, but atleast glibc and uClibc do. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: udhcpc.script: cleanupPeter Korsgaard2013-06-261-8/+3
| | | | | | | | | | | | | | | | ifconfig up is a no-op if the device is already running, so let's just do that unconditionally. Systems might have multiple network devices, and perhaps run udhcpc on another interface even when booted over nfs, so don't disable the per-interface deconfig based on the global nfsroot= setting on the kernel command line. If you don't want udhcpc to mess with kernel level IP autoconfiguration (E.G. for nfs boot), you should instead ensure udhcpc/ifup/ifplugd isn't started for that interface. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: use a single udhcpc script, with or without avahi-autoipdPeter Korsgaard2013-06-261-1/+20
| | | | | | | | | | | | | We're currently using two different udhcpc scripts, one in the busybox package and another in the avahi one, which calls avahi-autoipd on dhcp failures. The avahi one actually only does something differently from the default if avahi-autoipd is available, so let's just always use this one instead of the complicated logic about writing the file if not present / overwriting it afterwards. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox 1.21.0: update mdev patch and add ntfs volume patchGustavo Zacarias2013-05-142-30/+99
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox 1.21.0: update mdev patchGustavo Zacarias2013-04-231-16/+624
| | | | | | | Update the mdev patch so that subsystem matching is reintroduced. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: move patches to new modelGustavo Zacarias2013-04-238-0/+0
| | | | | | | | On commit 5538e4766201aa0c1c23721cfc99cbbde595964b the versioned package patches changed the directory structure but the packages weren't fixed. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: don't disable static optionPatrick Ziegler2013-04-171-4/+0
| | | | | | | | | | Don't change the busybox STATIC option if buildroots PREFER_STATIC_LIB option is not set. Not to prefer static linking doesn't imply prefer dynamic linking for all packages. Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix path to pidfileTilman Keskinöz2013-03-311-2/+2
| | | | | | Signed-off-by: Tilman Keskinöz <arved@arved.at> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: 1.21.0 platform fix-on-fixPeter Korsgaard2013-02-271-0/+13
| | | | | | The unxz hunk was missing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.21.0 xz fixPeter Korsgaard2013-02-271-0/+84
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: 1.21.1 fix for move_to_unaligned16()Peter Korsgaard2013-02-271-0/+11
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: support millisecond watchdog periodsSimon Dawson2013-02-182-2/+4
| | | | | | | | | | 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>
* busybox: busybox-update-config should depend on busybox-configureArnout Vandecappelle (Essensium/Mind)2013-02-051-1/+1
| | | | | | | | | Before the config file can be copied, it has to exist. The other xxx-update-config targets do this as well. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add mdev patch for 1.21.0Gustavo Zacarias2013-02-051-0/+35
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.21.x seriesGustavo Zacarias2013-01-212-2/+1037
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add ntp patch for 1.20.2Gustavo Zacarias2013-01-211-0/+11
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: remove deprecated 1.18.xGustavo Zacarias2012-12-102-992/+0
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: fix link with tirpcArnout Vandecappelle2012-11-211-2/+7
| | | | | | | | | | | | | | | | | | | Busybox does partial linking of its modules before linking everything together into the binary. Those partial links are done without the standard libraries, but that also means -ltirpc can't be found. In addition, this probably fails horribly with static linking (untested). The problem is that the LDFLAGS are also used in the partial links. So instead, use CFLAGS_busybox, which is only used for the busybox link step. Also make sure that this is passed through the environment, not on the command line, so the busybox Makefile can still append to it. Fixes e.g. http://autobuild.buildroot.net/results/e8351e3ba86fdcdb2999548658271a6fde0526a9 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add support to link against libtirpc when availableThomas Petazzoni2012-11-061-2/+17
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: don't force FEATURE_NFS_MOUNTThomas Petazzoni2012-11-041-12/+0
| | | | | | | | | | | | | | | | | | Instead of making the Busybox configuration more complicated by trying to adjust it depending on whether RPC is available or not (which gets complicated when RPC support can be provided by libtirpc), simplify things by letting the user enable FEATURE_NFS_MOUNT or not depending on whether RPC support is available or not. Our default configuration do not enable FEATURE_NFS_MOUNT, so users will not face any build problems by default. Only if they explicitly enable FEATURE_NFS_MOUNT will they have to make sure that the toolchain has RPC support, or that libtirpc is enabled (support for this added in a followup patch). [Peter: remove from CONFIGURE_CMDS as well] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.20.2 upstream fixesPeter Korsgaard2012-10-292-0/+190
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.19.4 / 1.20.2 fixesPeter Korsgaard2012-09-042-0/+189
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add license infoDanomi Manchego2012-08-151-0/+3
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rework of the init systemMaxime Ripard2012-07-301-0/+7
| | | | | | | | | | | | | Since we have now two uncompatible init systems, and we want only one of them at the same time in use in the rootfs, we need to select a particular init system. This patch also adds $(PKG)_INSTALL_INIT_SYSTEMD and $(PKG)_INSTALL_INIT_SYSV hooks that are called when the matching init systems are selected to install properly the init scripts of the package. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: bump 1.20.x series to 1.20.2Gustavo Zacarias2012-07-027-275/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox 1.20.1: add patches for mke2fs and psGustavo Zacarias2012-06-262-0/+142
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox 1.20.1: add patches for ash, ifupdown, man and tarGustavo Zacarias2012-06-104-0/+132
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: bump 1.20.x versionPeter Korsgaard2012-05-288-267/+1
| | | | | | Bugfix release. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.20.0 patch for mdev and update buildsys patchGustavo Zacarias2012-05-202-0/+81
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.20.0 patches for find and volume_idGustavo Zacarias2012-05-192-0/+106
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add watchdog daemon startup scriptFabio Porcedda2012-05-063-0/+52
| | | | | | 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>
* busybox: 1.20.0 buildsys fixPeter Korsgaard2012-04-291-0/+11
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add new 1.20.0, remove deprecated, mark 1.18.x deprecatedGustavo Zacarias2012-04-297-1084/+208
| | | | | | | | 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>
* Remove stray $ character from a bunch of init scriptsLuca Ceresoli2012-03-152-2/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: bump 1.19.x stable versionPeter Korsgaard2012-02-145-63/+1
| | | | | | Identical to 1.19.3 + patches. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Convert busybox to the device declaration methodMaxime Ripard2012-02-011-0/+5
| | | | | | | | | | | 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>
* busybox: add 1.19.3 mdev fixPeter Korsgaard2012-01-301-0/+11
| | | | | | | For details, see http://lists.busybox.net/pipermail/busybox/2012-January/077236.html Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: enable CONFIG_FEATURE_MDEV_RENAMEThomas Petazzoni2012-01-024-4/+4
| | | | | | | | | | | | | | | | | 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>
* busybox: add 1.19.3 for wget redirect handlingPeter Korsgaard2011-12-181-0/+29
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: remove old unused quirk handlingPeter Korsgaard2011-11-231-2/+0
| | | | | | | The definition of these variables were removed back in June (7d814728 / f1e4aac4). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: rename busybox-update to busybox-update-configThomas De Schampheleire2011-11-111-1/+1
| | | | | | | | | 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>
* busybox: add 1.19.3 getty and modinfo fixesGustavo Zacarias2011-11-022-0/+22
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: bump 1.19.x stable versionPeter Korsgaard2011-10-298-209/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: Fix syntax error when installing S10mdevPhilippe Pepiot2011-10-261-1/+1
| | | | | Signed-off-by: Philippe Pepiot <phil@philpep.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: only install S01logging / S10mdev if not present in fs skeletonPeter Korsgaard2011-10-181-3/+6
| | | | | | To allow custom syslogd / mdev configutations. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.19.2 tftp fixGustavo Zacarias2011-10-081-0/+12
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>