summaryrefslogtreecommitdiffstats
path: root/package/busybox
Commit message (Collapse)AuthorAgeFilesLines
* busybox: use pkg-config for libtirpc flagsThomas De Schampheleire2015-07-261-3/+3
| | | | | | | 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>
* Revert "busybox: added linux-pam support"Baruch Siach2015-07-201-7/+0
| | | | | | | | | | | | | | | | | | 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>
* busybox: added linux-pam supportMatt Weber2015-07-181-0/+7
| | | | | | 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>
* busybox: selinux supportClayton Shotwell2015-07-183-0/+55
| | | | | | | | | | | 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>
* package: fix fallout from checking kconfig config filesYann E. MORIN2015-07-141-1/+1
| | | | | | | | 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>
* package/busybox: check for config fileYann E. MORIN2015-07-141-0/+8
| | | | | | | | 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>
* initscripts: new packageMaxime Hadjinlian2015-07-142-0/+42
| | | | | | | | | | | | | | | | | 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>
* busybox: improve support for telnetdAlexey Brodkin2015-07-132-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* busybox: Install udhcpc script only if enabledMaxime Hadjinlian2015-07-111-5/+10
| | | | | | | | | | 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>
* busybox: adjust configuration to add fancy options to the sleep appletSylvain Raybaud2015-07-111-2/+2
| | | | | | | | | 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>
* busybox: PAM support needs thread supportThomas Petazzoni2015-07-041-1/+2
| | | | | | | | | | | | | | | | | 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>
* busybox: added linux-pam supportMatt Weber2015-06-281-0/+8
| | | | | Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com>
* busybox: add option to specify config fragmentsFloris Bos2015-05-212-0/+7
| | | | | | 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>
* package: kill pointless text justificationGustavo Zacarias2015-04-231-1/+1
| | | | | | 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>
* busybox: force ipv6 buildGustavo Zacarias2015-04-221-8/+0
| | | | | | | | | Since it isn't optional any more just force IPv6 on in busybox to avoid problems. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: force lfs buildGustavo Zacarias2015-04-011-7/+0
| | | | | | | | | Drop the buildroot toolchain non-largefile support option since it's being removed. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: bump to version 1.23.2Gustavo Zacarias2015-03-256-540/+4
| | | | | | | Drop upstream patches. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: enable arp appletGustavo Zacarias2015-03-121-1/+1
| | | | | | | | | It's pretty common, small and useful, specially since busybox ip doesn't do neigh (and looking at /proc/net/arp is all fine but not very friendly). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* busybox: remove actions that depend on removed netkit* packagesAlexey Brodkin2015-03-111-16/+0
| | | | | | | | | | | | | Both "netkitbase" and "netkittelnet" packages were removed by this commit: http://git.buildroot.net/buildroot/commit/?id=560fe85bf7fb81956e80848c8bb28d7a6d00a2a2 Now we may safely remove reminders in busybox.mk that depend on mentioned packages that are no longer in Buildroot. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2015-03-021-1/+1
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * busybox: enable flock appletPeter Korsgaard2015-02-241-1/+1
| | | | | | | | | | | | Needed by E.G. the default odhcp6c state script. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | busybox: add 1.23.1 patch to fix modinfoGustavo Zacarias2015-02-231-0/+17
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | busybox: add 1.23.1 fixes for dc and wgetGustavo Zacarias2015-02-192-0/+348
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | busybox: add 1.23.1 patch to fix MODPROBE_SMALLGustavo Zacarias2015-02-171-0/+171
|/ | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: S01logging: implement restartRichard Genoud2015-02-011-4/+14
| | | | | | | | restart wasn't doing anything, and the expected behaviour is stop/start. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: bump to version 1.23.1Gustavo Zacarias2015-01-275-305/+4
| | | | | | | Removed patches are upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* busybox: add patches for vi and modutilsGustavo Zacarias2015-01-162-0/+262
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/busybox: Add facility for DHCP hooksJeremy Kerr2015-01-022-0/+8
| | | | | | | | | | | | | | | | | | | | | The (u)dhcpc hook installed by the busybox package configures the network and exits. If we want to do anything further with a DHCP lease, we'd have to replace the script entirely. This change introduces a .d directory for hooks (based on the script filename), which are executed after the interface configuration. This allows packages to drop a script file in the .d directory to perform actions on DHCP events. We'll use this in a later change to notify petitboot of DHCP boot information. [Thomas: update to latest Buildroot, fix indentation.] Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: bump to version 1.23.0Gustavo Zacarias2014-12-2911-187/+73
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* busybox: Make it possible to override LOGIN_FAIL_DELAY in CONFIG_EXTRA_CFLAGSPeter Kümmel2014-12-221-0/+32
| | | | | Signed-off-by: Peter Kümmel <syntheticpp@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* busybox: install init script and config file unconditionallyThomas Petazzoni2014-12-021-18/+12
| | | | | | | | | | | As discussed, users should use a rootfs overlay or a post-build script instead of a custom skeleton to override files installed by Buildroot, so there is no point in having conditions when installing init scripts or configuration files. [Peter: drop && conditional from watchdog installation as noted by Yann] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* busybox: use <pkg>_INSTALL_INIT_SYSV mechanismThomas Petazzoni2014-12-011-1/+4
| | | | | | Signed-off-by: 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>
* package/*/*.mk: Fix indentMaxime Hadjinlian2014-11-191-2/+2
| | | | | | | | | | | Change LIBFOO_PERMISSIONS everywhere to be a space-separated list. As nothing was specified in the manual but all our lists are space separated, there is no reason that this one should be made an exception. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*/*.mk: Fix indentMaxime Hadjinlian2014-11-081-2/+2
| | | | | | | | Fix indent for LIBFOO_USERS and LIBFOO_PERMISSIONS as per the manual example. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysv init scripts: remove gettext invocationsAndré Erdmann2014-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | $"str" is supposed to translate str (depending on the current locale). In ash/dash/..., it cannot be expanded, so commands like echo $"Usage: $0 start|stop" are printed as '$Usage: SCRIPT start|stop' in [d]ash, and as 'Usage: SCRIPT start|stop' in bash. This patch removes the '$' in front of '"'. Command(s) used for editing: find . -type f -name '[SK][0-9][0-9]*' | \ xargs sed -r -e 's@[$](["])@\1@g' -i Signed-off-by: André Erdmann <dywi@mailerd.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2014-10-261-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_KCONFIG_OPT into FOO_KCONFIG_OPTSThomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_KCONFIG_OPT. Sed command used: find * -type f | xargs sed -i 's#_KCONFIG_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: add hashGustavo Zacarias2014-09-182-0/+3
| | | | | | | | And rename 0006-lzop-add-overflow-check.patch to the proper convention. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* infra/pkg-kconfig: incorporate oldconfig call to avoid endless rebuildsThomas De Schampheleire2014-08-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | The configure step of the busybox package performs 'make oldconfig', which causes the .config file to be updated. Thus, the .config file is more recent than our stamp file .stamp_kconfig_fixup_done. On a subsequent build, our dependency rules would kick in, and run the config fixup again, thus kicking in the package's configure, build and install steps yet once more, that, ad infinitum. One solution is to modify kconfig-package to introduce an explicit touch of the .kconfig_fixup_config_done stamp file, as post-configure hook. Another solution, implemented by this patch, is to move the oldconfig call from the package's .mk file to the kconfig-package infrastructure and make sure it is done as part of the fixup commands. This way, the stamp file will only be touched once, after the full fixup (including oldconfig) and no endless rebuilds will occur. Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Suggested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: enable ash getoptsGustavo Zacarias2014-08-061-1/+1
| | | | | | | It's increasingly used by scripts like some in the btrfs-progs package. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: convert to kconfig-package infrastructureThomas De Schampheleire2014-08-041-16/+9
| | | | | | | | | | | This patch converts the busybox package to the new kconfig-package infrastructure, thus removing code duplication and ensuring a consistent behavior of kconfig packages. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: enable fdisk in default configGustavo Zacarias2014-07-261-5/+5
| | | | | | | | | | | | As noted by mnemoc on IRC the default busybox config doesn't enable fdisk and util-linux is hidden by !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS. On modern systems fdisk usage is becoming more common so enable it, it just adds up ~25 KiB to total binary size. People who are on the edge for space savings will normally customize their busybox config. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: fix typo 'overwritting'Thomas De Schampheleire2014-07-141-1/+1
| | | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: fix interaction with version selection removal and lzo fixThomas Petazzoni2014-07-124-198/+0
| | | | | | | | | | | | The fix for the LZO issue in Busybox was merged between the moment the patch removing the Busybox version selection was posted and merged. This patch adjusts the Busybox patches to take into account this issue: it removes the LZO patches for the no-longer existing Busybox versions, and moves the LZO fix for the 1.22.1 Busybox version as appropriate. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* busybox: support only one versionThomas Petazzoni2014-07-1019-3600/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* busybox: add security patch for CVE-2014-4607Gustavo Zacarias2014-06-304-0/+264
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: replace command install by $(INSTALL)Maxime Hadjinlian2014-06-081-3/+3
| | | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: enable noclobber option in install.shDanomi Manchego2014-06-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | We support a busybox-menuconfig target so that the BusyBox configuration can be adjusted as needed. However, depending on what other packages are enabled, re-installing BusyBox symlinks that duplicate "real" apps after the configuration change can result in bad behaviors: * At best, the BusyBox applet will be used after the install, versus the desired "real" app. * At worst, the built rootfs can become unbootable. The BusyBox install.sh has some capability to avoid this issue by means of a --noclobber option. By default, this option is disabled. When enabled, the install.sh will not overwrite a target file with a symlink or hardlink, be it an actual file or a previously installed BusyBox link. The install.sh's argument processing is somewhat broken, so this patch simply changes the default value of the noclobber option to on, rather than add --noclobber to the install.sh invocation. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* busybox: use SED macro instead of 'sed -i'Danomi Manchego2014-06-041-1/+1
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud