aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox
AgeCommit message (Collapse)Author
2015-12-28busybox: generalize recipe to work with arbitrary install directoriesMatthias Schiffer
Allow configuring base_bindir, base_sbindir, bindir and sbindir arbitrarily. Also change the temporary symlinks created in the postinst script from relative to absolute to make the code simpler and more flexible. There was no reason to use relative links anyways, as directly afterwards update-alternatives would replace them by absolute links anyways. (From OE-Core rev: d7907c9a32733d716202d6baf76dc450fe791f31) Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-12busybox: Add config for muslKhem Raj
Default config is enabling additional features that dont compile with musl so lets disable them for musl case (From OE-Core rev: 7568e432890d828fec59134e14d7f60445ff4a1a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08busybox: backport upstream fixes for unzipAndre McCurdy
http://git.busybox.net/busybox/commit/?h=1_24_stable&id=6767af17f11144c7cd3cfe9ef799d7f89a78fe65 http://git.busybox.net/busybox/commit/?h=1_24_stable&id=092fabcf1df5d46cd22be4ffcd3b871f6180eb9c (From OE-Core rev: e69c955d825bdfaa17eb7a75f26df8b7b646f04d) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox: enable resize appletAndre McCurdy
The /etc/profile script contains a call to resize, which improves the usability of shells run on the serial console. http://git.openembedded.org/openembedded-core/commit/?id=cc6360f4c4d97e0000f9d3545f381224ee99ce7d Unfortunately the resize applet is not currently enabled in busybox defconfig, so resize is never called. Fix that. (From OE-Core rev: 2136fecd662a6eeea02322628021de7982b5d35e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox: disable support for mounting NFS file systems on Linux < 2.6.23Andre McCurdy
The busybox CONFIG_FEATURE_MOUNT_NFS config option is described as: Enable mounting of NFS file systems on Linux kernels prior to version 2.6.23. Note that in this case mounting of NFS over IPv6 will not be possible. Since OE-core sets OLDEST_KERNEL = "2.6.32", CONFIG_FEATURE_MOUNT_NFS is not required in the default busybox defconfig. (From OE-Core rev: b47ff1605940694150e497d8f18d6201e1627415) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox: update 1.23.2 -> 1.24.1Andre McCurdy
The busybox defconfig has also been refreshed, with all new apps and features disabled by default. Update _git recipe version too. (From OE-Core rev: 4d5f51dd3b2733f15cb2eee40e622ec43f46d91c) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox: re-order defconfig to align with busybox 1.24.1Andre McCurdy
No functional changes, simply re-order lines in defconfig so that the existing options don't move elsewhere in the file when run though busybox 1.24.1 'make oldconfig'. (From OE-Core rev: 28f197915d816ea249b036f8a4dfe11d477f94e7) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox.inc: remove '-e MAKEFLAGS=' from EXTRA_OEMAKEAndre McCurdy
Busybox Kbuild likes to control its own MAKEFLAGS (it adds -rR, etc), so avoid over-riding MAKEFLAGS. Relying on 'make -e' is no longer required so remove that too. (From OE-Core rev: 1d841e103b229bf70a1c24c1cc22b7bdc8c9bf64) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox.inc: set CC=${CC} via make command lineAndre McCurdy
Busybox currently relies on 'make -e' to over-ride CC and the make command line to over-ride LD. Set CC via the make command line to be consistent with LD and to allow '-e' to be dropped from EXTRA_OEMAKE. (From OE-Core rev: b7c265e1edd5c82126c1f3915ba5ca9efef57c00) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox.inc: fix CONFIG_EXTRA_CFLAGS configmangleAndre McCurdy
With current busybox Kbuild, setting .config to: CONFIG_EXTRA_CFLAGS="foo" "bar" and then running 'make oldconfig' results in .config containing: CONFIG_EXTRA_CFLAGS="foo" ie the CONFIG_EXTRA_CFLAGS configmangle in the busybox.inc doesn't currently work as intended. Remove the extra \" \" to ensure that ${HOST_CC_ARCH} gets added to CONFIG_EXTRA_CFLAGS. (From OE-Core rev: 5f822373fadff2415cf1602b9d58fae0dbd33730) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox.inc: don't set .config CROSS_COMPILER_PREFIXAndre McCurdy
Setting CROSS_COMPILER_PREFIX via .config is redundant (setting CROSS_COMPILE via the make command line will always over-ride it). (From OE-Core rev: db2daff77a9d533dc03ab3aaeffa87e32f834240) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox: move EXTRA_OEMAKE etc into busybox.incAndre McCurdy
EXTRA_OEMAKE options and do_install_ptest() are common to both busybox recipes, so move into busybox.inc. (From OE-Core rev: aeeb80be6db8df0548c97b4a40c1561cc724debb) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox.inc: don't export EXTRA_OEMAKEAndre McCurdy
EXTRA_OEMAKE is private to OE and shouldn't be exported to the busybox build. (From OE-Core rev: 61e1617f9f024ead0b77004c94f2de45c88a4aa8) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01busybox_git: Enable getopt appletAndre McCurdy
Keep git recipe in sync with 1.23.2: http://git.openembedded.org/openembedded-core/commit/?id=10c2c484d5916ad476ad7717c3629f6684f01e6d (From OE-Core rev: 33868c680587036d1aa3b56e66599a5b972626c4) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16busybox: Schedule mdev after mountallKhem Raj
mdev does automounting of block media, which expects /run/ to be mounted, so let mounting happen before running mdev service and mountall is done with at 03 so trigger mdev at 04 This helps in mounting the devices which are plugged on boot (From OE-Core rev: 7eda8fdd1585ce19e398e64f6bcea1ffafc90b41) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16busybox: Fix mdev block device automountingKhem Raj
The directory ${MDEV_AUTOMOUNT_ROOT}/ which is '/run/media' may not exist yet when the device is found, so lets use -p switch to mkdir cmd so it create preceding parent dirs if needed. Remove some bash specific constructs (From OE-Core rev: d5279c49c881a9a8991fda67a70cd49756ac3a92) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-12busybox.inc: remove redundant @DATADIR@ replacementAndre McCurdy
The busybox defconfig doesn't contain a @DATADIR@ marker, so the attempt to replace it in do_prepare_config is redundant. (From OE-Core rev: a3b0c401cac043a132e7e2d491b3871ec94c258e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-28busybox: Use CC instead of bare LD to be the LinkerKhem Raj
This patch was on mailing list, another patch to make sure -r is not passed directly but via -Wl switch is added. This was exposed when using clang and gold linker, clang does not have -r switch to do relocatable objects and problem happens specific to OE becuase we use LD = CC now what happens is that busybox assumes that linker will be called directly, and hence sprinkles linkers options in its kbuild system which aggregate into LDFLAGS, some of these options are happily ignored by gcc as well but it passes -r options rightly to linker so it all works, however when using clang, this falls apart since -r is not known option for clang so it drops this option and all obects which should be partially linked becomes ET_EXEC and when they are added to final link then gold starts to get confused /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-ld: error: applets/built-in.o: unsupported ELF file type 2 clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) (From OE-Core rev: 117282486b68e4da468c21795ea87bfc85625885) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-28busybox: Use UTMPX instead of legacy UTMPKhem Raj
This makes busybox honor UTMPX feature if available in a libc [YOCTO #8243] (From OE-Core rev: c5de9b2ddb38790866bda5a88b9b7119aac0aa3f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-12meta: Fix Upstream-Status statementsRoss Burton
Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. (From OE-Core rev: bd220fe6ce8c3a0805f13a14706d3130ea872604) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-09busybox: Enable getopt appletKhem Raj
getopts is a common applet more so now needed by systemd for working with sysv scripts (From OE-Core rev: 10c2c484d5916ad476ad7717c3629f6684f01e6d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-06busybox: fixes for when base_bindir != /binJoshua Lock
* Replace all hard-coded paths with variables * Run sed over busybox.links.* to replace /bin with ${base_bindir} (From OE-Core rev: c61463a45441315b0006a28bb9f6069a393a8309) Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01busybox: enable support for sha1sum and sha256sum appletsAndre McCurdy
(From OE-Core rev: 4d9a9d748e4cd0d0ffc67907c06bd01ceda2722e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01busybox: support mount via label for btrfs and squashfsAndre McCurdy
Also move the mount via label (and mount via UUID) support into its own config fragment and disable volume ID support for less common filesystem formats exFAT and NILFS. Following this commit, mount via label is supported for btrfs, ext, f2fs, fat and squashfs. (From OE-Core rev: b5e91f26b2779178765b62df36421d97caa4cdd7) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01busybox: disable fatattr in defconfigAndre McCurdy
The fatattr applet (to display or change file attributes on a fat file system) doesn't seem to be core functionality, so disable by default. (From OE-Core rev: ab6b5bc7cfa1e6160919f7aea2671ad79af64507) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01busybox: disable sha3sum in defconfigAndre McCurdy
The sha1sum, sha256sum and sha512sum applets have not historically been enabled by default, so don't enable sha3sum either. (From OE-Core rev: fd095486e24ef2d40bc9b61af66fffb0d6578156) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01busybox: refresh defconfig for busybox v1.23.2Andre McCurdy
The current oe-core busybox defconfig dates back to busybox v1.20.2, so configure options introduced in busybox v1.21.x, v1.22.x and v1.23.x take on default values when the oe-core defconfig is run through 'make oldconfig'. (From OE-Core rev: f3a95b6e00482de10f4698a3ab8cead336d11e9e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01busybox: re-order defconfig to align with busybox 1.23.2Andre McCurdy
No functional changes, simply re-order lines in defconfig so that the existing options don't move elsewhere in the file when run though busybox 1.23.2 'make oldconfig'. (From OE-Core rev: ee80d8bfe0a6f4ad8c5de38eac20319760c0fe8f) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01busybox: remove CONFIG_FEATURE_VI_OPTIMIZE_CURSOR from defconfigAndre McCurdy
CONFIG_FEATURE_VI_OPTIMIZE_CURSOR is obsolete and removed from busybox v1.21.0 onwards: http://git.busybox.net/busybox/commit/?id=04b52892ed5d9d8a4cf5d887c221a8b50c71274e (From OE-Core rev: 83231083c0c6e1ffdcf6239b85e0058232a92be0) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-23busybox: Enable UUID-related optionsEd Bartosh
Enabled MOUNT_LABEL and VOLUMEID* features for busybox mount to understand 'UUID=' syntax in fstab. (From OE-Core rev: f1a4b8e0b3fb065e3b63185f1b98481d4078a851) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-11busybox: fix the wrong help text for chownJunling Zheng
Only when DESKTOP is enabled, chown has -L, -H and -P options. Backport a commit from upstream to fix it: http://git.busybox.net/busybox/commit/?id=d291c2fdd5cb8616605c67ecbfb04274fa094242. (From OE-Core rev: 6ec65eedb63a82159dde8f2b2825ba7d5e6ae81d) Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-11busybox: fix double free error for ifconfigJunling Zheng
This patch backports a commit from upstream to fix a potential double free error when executing ifconfig circularly: http://git.busybox.net/busybox/commit/?id=a97777889328157bb7d06ec618bad16712a9c345. Thanks to Chen Gang for reporting and analyzing this bug. (From OE-Core rev: 66ec540dad77052bc2c1da3a87f875547600efad) Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Chen Gang <cg.chen@huawei.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-11busybox: sync the patches for git versionJunling Zheng
Synchronize the patches for busybox_git with busybox_1.23.2. (From OE-Core rev: 5252ab5910aa8fecaf988f43f882e2c4db30056d) Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-19busybox: remove CVE-2014-9645 patch (already upstream in 1.23.x)Andre McCurdy
The CVE-2014-9645 fix was merged in Busybox prior to the 1.23.0 release [1]. The fix was then reworked in Busybox 1.23.1, in such a way that the original change was no longer required [2]. Although oe-core's CVE-2014-9645 patch still applies cleanly to Busybox 1.23.1 and 1.23.2, applying it partially reverts the second version of the upstream fix. [1] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=4e314faa0aecb66717418e9a47a4451aec59262b [2] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=1ecfe811fe2f70380170ef7d820e8150054e88ca (From OE-Core rev: a753d3d8884b96baad5ed1a03335a81586420b86) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-10busybox: upgrade to 1.23.2Chen Qi
(From OE-Core rev: 2b7258c19dc8c286d19e9067b62374b754deeca2) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-24busybox:udhcpc: Remove the routes from the right interfaceHolger Hans Peter Freyther
When using iproute2 to remove the route all default rules will be removed. Scope the removal by interface like it is done with ifconfig. (From OE-Core rev: 2127a57cb1b3d83f9f7640051403e47e485b132c) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-24busybox:udhcpc: Start with a metric of 10 for routesHolger Hans Peter Freyther
Linux allows to install multiple default routes with different metrics. Start with a metric above 0 to allow other parts of the system to install routes with a lower metric. (From OE-Core rev: 566441f58d398d93f948067cf399d00cf3b37eba) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-19busybox: update to 1.23.1 releaseFathi Boudra
* Bump SRCREV/PV * Drop PR * Update SRC_URI md5sum/sha256sum * Drop 0001-build-system-Specify-nostldlib-when-linking-to-.o-fi.patch - applied upstream and available in 1.23.1 release (From OE-Core rev: 2c59692c4fa4a0a21dee23b8affc3c8e58ff7a11) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08busybox: Include 'mesg' utilityAsh Charles
The 'dot.profile' supplied by base-files calls 'mesg'. For simple images using busybox e.g. core-image-minimal, this utility should be available to avoid errors on login: -sh: mesg: command not found Provide mesg with busybox. (From OE-Core rev: 7ec6f8290910c242d6e58110c30b3ffbdff274e4) Signed-off-by: Ash Charles <ashcharles@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-03busybox: cve-2014-9645Armin Kuster
modprobe,rmmod: reject module names with slashes (From OE-Core rev: 815a7b6fbf3b0cf95f5464bca687d97366d7ed6a) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-19busybox-mdev: Support automatic mounting of block devicesmike.looijmans@topic.nl
Upon inserting a USB stick or similar device, mdev will run an automounter script that mounts valid partitions on /media/<device>. The script first checks /etc/fstab entries so that mounting on UUID or LABEL or using custom mount options is still possible. If /etc/fstab does not contain particular mount options, the script will create (and remove) the mountpoint automatically. The script also supports full disk partitions (devices without partition table). The following environments can be set in /etc/default/mdev: MDEV_AUTOMOUNT=n (Disables automounting completely) MDEV_AUTOMOUNT_ROOT=/media (Change the mount root location) Automatic mounting for a particular device can be disabled by creating a file "/dev/<device>.nomount". This is helpful in scripts that create partitions for example, and want to perform specific actions which require the device to remain unmounted. A more complex variation (using LABEL based mounts) on this script has been in use in OpenPLi for many years now, and I've used this one on many projects already, so it's about time to push this to mainline. (From OE-Core rev: 19073fb991b3e2d2304e55f94e30674adf375197) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-19busybox-mdev: Add hotplug kernel module support to mdev.confmike.looijmans@topic.nl
Add a line to mdev.conf that tells mdev to load kernel modules when required. For example, if you built wifi support as an external module, inserting a wifi stick into a USB port will now automatically load that module into the kernel and the wlan device will be ready for configuration. Without this patch, you have to load required modules manually or force them to load at system startup. (From OE-Core rev: 11420b0566a6a085c6cb78f3f1495ed9c599e6fd) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-19busybox/find-touchscreen.sh: Simplify script and recognize USB devicesmike.looijmans@topic.nl
Simplify the grep expression, use the more common "grep" command instead of "egrep", avoid forking extra processes, join multiple invokations into a single combined expression. Change the touchscreen regex so that it also recognizes various USB touchscreen controllers and the ad7879 i2c device. Based on code used in OpenPLi and meta-topic. (From OE-Core rev: e82353eb9f76b582122fda27c93339eac5553eb2) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-19busybox-mdev: Install missing find-touchscreen.shmike.looijmans@topic.nl
mdev.conf references the find-touchscreen.sh script, but this file was not being installed. Add the script to the busybox-mdev package. (From OE-Core rev: 44f6df0dfac54845ef5c3ab1af5663d1b6c1d64b) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-05Revert "busybox : fix do_compile failed on qemumips when DEBUG_BUILD (ICE)"Hongxu Jia
Since the gcc has resolved this, so we revert the workaround patch. This reverts commit f026b7a211a44acdb7fadb50b1a84aa3e369450a. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09ncurses, busybox, cml1.bbclass: Fix menuconfig display corruptionJason Wessel
Previously there was a change to the ncurses compile to make it more like the typical way it was compiled on a host system. This fixed a whole class of host machines, but masked the real underlying problem with the display corruption issues and menuconfig. The corner case that led to the discovery that the wrong curses.h file was getting used was when there was no curses libraries at all on one of the development hosts. What had happened before was that /usr/include/curses.h on the host system had to match closely enough to the curses.h in the sysroot and then linking against the sysroot version of curses.so was ok (meaning no display corruption). But on some systems with ncurses.h vs curses.h such as SuSE hosts, there were still issues. If we fix the root of the problem and force the mconf and lxdialog to use the correct headers and libraries from the sysroot there is no further issues and the menuconfig target works properly. It also means we can back out the custom compilation flags to the ncurses recipe because they are no longer needed. For the kernel part of the menuconfig / nconfig changes it will be merged separately and this is all based on: https://lkml.org/lkml/2013/3/3/103 (From OE-Core rev: 889e02659dd396feba24f0b0ee6b4043c3f3735a) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-04BusyBox: Fixing broadcast address is not fed and rightly initializedyadi.hu@windriver.com
When using udhcpc along with ip command(/sbin/ip), broadcast address is not assigned. Broadcast address is successfully assigned when using udhcpc without ip command existence. with ip command: $ifconfig eth0|grep Bcast inet addr:128.224.162.141 Bcast:0.0.0.0 Mask:255.255.254.0 $ without ip command: $ifconfig eth0|grep Bcast inet addr:128.224.162.141 Bcast:128.224.163.255 Mask:255.255.254.0 $ /etc/udhcp.d/50default[simple.script] is called to set ip address by dhcp client, In case of ifconfig, it doesn't care of it's existence because it will automatically calculate broadcast address then assign it if there is no broadcast option. However in case of ip command, it requires broadcast address statically. (From OE-Core rev: 666c6a126cd12d2555361f5b573b6a26437df780) Signed-off-by: Hu <yadi.hu@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29syslog: Change unused variable declaration LOCAL=0 to LOG_LOCAL=1Michael Gloff
This fix allows the correct appending of -L to syslogd arguments when both file and remote logging are selected. (From OE-Core rev: ca68019760de6c5d5401be8eae7e65e7e6ca9021) Signed-off-by: Michael Gloff <mgloff@emacinc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23fixupRichard Purdie
(From OE-Core rev: 20992e8a00c585ab6b0611ca23ccd57e2b86b727) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23busybox : fix do_compile failed on qemumips when DEBUG_BUILD (ICE)Hongxu Jia
Build busybox on mips with -g -O, there is a ice failure: ... shell/ash.c:8758:1: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21264 ... Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. {standard input}: Assembler messages: {standard input}: Warning: missing .end at end of assembly {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive ... The following line caused the ice failure on mips: ... void evaltreenr(union node *, int) __attribute__ ((alias("evaltree"),__noreturn__)); ... So remove evaltreenr which was a alias of evaltree, and use evaltree to instead. [YOCTO #6625] (From OE-Core rev: e9e2884a29e95703c5b1a2fffe5e6febfa77b5cd) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>