summaryrefslogtreecommitdiff
path: root/meta/recipes-core/busybox
Commit message (Collapse)AuthorAgeFilesLines
* busybox: port improvements to simple.script from Debian (udhcpc)Andreas Oberritter2012-05-042-8/+21
| | | | | | | | | * Support resolvconf * Avoid bashism $((metric++)) * Use 'domain' instead of 'search' for domain parameter Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: remove unused patches for simple.script (udhcpc)Andreas Oberritter2012-05-043-83/+1
| | | | | | | * OE-Core provides its own copy of simple.script. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Pass HOST_CC_ARCH through CONFIG_EXTRA_CFLAGSKhem Raj2012-05-012-2/+2
| | | | | | | | The -mabi option is part of HOST_CC_ARCH which does not appear in CFLAGS. This is for completeness since compiler already defaults to n64 it wont matter that much Signed-off-by: Khem Raj <raj.khem@gmail.com>
* busybox: fix options -b, -a and -PAndreas Oberritter2012-04-112-7/+14
| | | | | | | | | * busybox-udhcpc-no_deconfig.patch broke the options, preventing udhcpc from forking into the background if no lease can be obtained. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: move watch to /usr/bin for compatibility with procpsAndreas Oberritter2012-03-262-1/+31
| | | | | | | | | | Commit 68dc2a3fa30c03a196d650de34d0c657a7b85454 broke opkg upgrade: | update-alternatives: Error: cannot register alternative watch to | /usr/bin/watch since it is already registered to /bin/watch Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: upgrade to 1.19.4Shane Wang2012-03-2110-21/+3
| | | | | | Removing the patch busybox-1.19.3-getty.patch is because it is already in the upstream. Signed-off-by: Shane Wang <shane.wang@intel.com>
* meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie2012-03-051-1/+1
| | | | | | | | sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Restore 'date' compatabilityGary Thomas2012-03-012-2/+2
| | | | | | | | | Restore CONFIG_FEATURE_DATE_COMPAT so that all versions of 'date', whether from busybox or coreutils, agree on the format when setting the date from the command line. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Enable 64 bit shell tests, and disable non-standard date format ↵James Limbouris2012-02-291-2/+2
| | | | | | | | | | interpretation. Without 64 bit shell tests, the timestamp comparison in initscripts' bootmisc.sh throws 'out of range' errors. With CONFIG_FEATURE_DATE_COMPAT, date reads the YYYYMMddhhmm string as hhmmYYYYMMdd when setting the time from the timestamp in bootmisc.sh. Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* More quoting fixesMartin Jansa2012-02-261-2/+2
| | | | | | | | * We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: don't create /etc/defaultAndreas Oberritter2012-02-232-2/+1
| | | | | | | * It's not used by the recipe and its creation currently depends on CONFIG_HWCLOCK=y. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* package.bbclass: Optimise the per file rpm handlingRichard Purdie2012-02-101-2/+2
| | | | | | | | | | Currently a process was being forked off for each individual file this class wanted to inspect with rpmdeps. This converts it to use rpmdeps-oecore which allows batch processing of these dependencies. For do_package for perl, this reduced the time by about 1 minute (33%). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Add flock utility to default configuration.Peter Tworek2012-02-071-1/+1
| | | | | | | | | Flock is required by by pm-utils package to function properly (/usr/lib/pm-utils/functions). It's shipped in both busybox and util-linux. Both versions work fine with pm-utils. Enabling it in busybox seems like simpliest solution for the problem. Signed-off-by: Peter Tworek <tworaz666@gmail.com>
* Fix Upstream-Status entriesSaul Wold2012-01-241-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* busybox: enable dropping of duplicates in syslog, off by defaultJoshua Lock2012-01-194-2/+6
| | | | | | | | | | Busybox syslog includes functionality to drop duplicated syslog entries, enable this feature in the defconfig yet disable it by default. Expose configuration of the feature through the syslog-startup.conf file and the syslog init script. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: change syslog default to log to a fileJoshua Lock2012-01-191-1/+1
| | | | | | | | | | | This changes the default in syslog-startup.conf to log messages to a file (/var/log/messages) because: a) we already mount /var/log as a volatile mount by default b) users are accustomed to looking at /var/log/messages as most distributions don't ship with logread Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: enable log level configuration in syslog-startup.conf and scriptJoshua Lock2012-01-192-0/+4
| | | | | | | | | | It's possible to configure busybox syslog to only log messages above a certain level, expose this functionality through the syslog-startup.conf and syslog init script. Valid values are 1-8 inclusive. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: remove incorrect comments from syslog-startup.confJoshua Lock2012-01-191-2/+2
| | | | | | Setting rotation size and generations is supported with busybox syslogd Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: drop MARKINT option from init script and syslog-startup.confJoshua Lock2012-01-192-4/+0
| | | | | | | | | This option has been disabled in busybox since 2007 as it was deemed too buggy. See: http://git.busybox.net/busybox/commit/?id=4998c818919477d90674a3f220e7407c26da17f9 Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox: defconfig modified in order to activate CONFIG_EXPR_MATH_SUPPORT_64Andrei Gherzan2012-01-191-1/+1
| | | | | | | | | | Enable 64-bit math support in the expr applet. This will make the applet slightly larger, but will allow computation with very large numbers. [YOCTO #1767] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* busybox/uglibc: remove obsolete check for "kernel24"Andrei Gherzan2012-01-171-3/+1
| | | | | | | | | | | Busybox checks if MACHINE_FEATURES contains "kernel24". If so, CONFIG_FEATURE_2_4_MODULES will be on "y". kernel24 is no longer present in any machine configuration. The same situation is in uglibc with a different CONFIG mapping. [YOCTO #1901] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: rename syslog.conf to syslog-startup.confJoshua Lock2012-01-044-11/+14
| | | | | | | | | | | | | | | | | Busybox 1.19 introduced basic support for an rsyslog inspired syslog.conf whereas we've been shipping syslog.conf as a file to be sourced by the syslog init script in order to configure which options busybox's syslog is started with. Busybox 1.19 in syslog mode chokes on our syslog.conf and doesn't start. This patch renames the syslog.conf we ship to syslog-startup.conf in order to prevent busybox trying to parse the file as an rsyslog style syslog.conf Fixes [YOCTO #1848] Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* OECore license fixes: meta/*Elizabeth Flanagan2011-12-082-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This is a quick audit of only the most obviously wrong licenses found within OECore. These fixes fall into four areas: - LICENSE field had incorrect format so that the parser choked - LICENSE field has a license with no version - LICENSE field was actually incorrect - LICENSE field has an imaginary license that didn't exist This fixes most of the LICENSE warnings thrown, along with my prior commit adding additional licenses to common-licenses and additional SPDXLICENSEMAP entries. HOWEVER..... there is much to be done on the license front. For a list of recipes with licenses that need obvious fixing see: https://wiki.yoctoproject.org/wiki/License_Audit That said, I would suggest another license audit as I've found enough inconsistencies. A good suggestion is when in doubt, look at how openSuse or Gentoo or Debian license the package. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
* busybox: update to 1.19.3Anders Darander2011-12-0210-126/+245
| | | | | | | | The updates to patch busybox-udhcpc-no_deconfig.patch is not fully verified. Adds one upstream patch to 1.19.3. Signed-off-by: Anders Darander <anders@chargestorm.se>
* getVar/setVar cleanupsRichard Purdie2011-11-261-6/+4
| | | | | | | Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-3/+3
| | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add grep to temporary links during uninstallPaul Eggleton2011-11-092-1/+2
| | | | | | | | | In the busybox package prerm we set up some temporary links and modify PATH so that certain utilities are provided for the purpose of running update-alternatives; if grep is not among these then you get errors when removing busybox, so add a temporary link for grep as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* busybox: Enhance to add dynamic per-file providesMark Hatle2011-09-212-1/+33
| | | | | | | | | | | | | | | | When using the RPM package backend, we need a full list of per-file provides (and requires). The busybox package provides a number of command line utilities, such as /usr/bin/env. However, because the utilities are created at post install time via scripting the provide of each of the links was never made. So any programs, such as python, that require /usr/bin/env were unable to resolve the dependency and failed. This change only affects packaging backends that use per-file dependency data. Currently RPM is the only packaging backend with this ability. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* busybox: update to 1.8.5Denis Carikli2011-09-079-3/+3
| | | | Signed-off-by: Denis Carikli <denis@eukrea.com>
* busybox: Change ${PN} to ${BPN} in file namesDongxiao Xu2011-08-192-16/+16
| | | | | | | Some files in busybox are named with ${PN}. In multilib case, ${PN} will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* busybox: don't strip the main binaryChris Larson2011-08-122-2/+3
| | | | | | With this, we get a useful busybox-dbg package. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* busybox: respect ${LDFLAGS}Phil Blundell2011-07-142-1/+3
| | | | | | | This avoids a GNU_HASH QA warning. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: fix missing features due to lack of variable expansionPaul Eggleton2011-07-122-3/+3
| | | | | | | | Expand DISTRO_FEATURES and MACHINE_FEATURES fully so that any inner variable references (such as DISTRO_FEATURES_LIBC) are expanded properly. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: bump PR to ensure ipv4 is enabledPaul Eggleton2011-07-071-1/+1
| | | | | | | Now that ipv4 has been added to the default DISTRO_FEATURES we need to bump PR as busybox will need to be rebuilt. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Avoid stripping binariesMark Hatle2011-06-231-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* busybox: backport distro-features handling from oe masterPhil Blundell2011-06-142-3/+79
| | | | | | | This is a backport from oe master of the code which adjusts the busybox config according to DISTRO_FEATURES etc. Signed-off-by: Phil Blundell <philb@gnu.org>
* busybox: sync do_install() with oe master (mostly)Phil Blundell2011-06-012-48/+57
| | | | | | | | | | | | | This is basically a backport of the current state of the art from the openembedded master repo. In particular this fixes an installation error on micro: | + cp -dPr /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/bin /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/sbin /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/busybox/ | cp: will not create hard link `/home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/busybox/image/bin' to directory `/home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/busybox/bin' | cp: cannot copy a directory, `/home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image', into itself, `/home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/image/busybox/image' | ERROR: Function 'do_install' failed (see /home/pb/oe/build-meta/tmp-eglibc/work/i586-oe-linux/busybox-1.18.4-r1.2/temp/log.do_install.3808 for further information) Signed-off-by: Phil Blundell <philb@gnu.org>
* update patch upstream statusQing He2011-05-136-0/+12
| | | | | | | | | | | | | | This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat Signed-off-by: Qing He <qing.he@intel.com>
* busybox: add support to mdevOtavio Salvador2011-05-104-2/+56
| | | | | | | This changes the packaging only if the configuration used has mdev support enabled. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Remove distro-specific metadata for distros not in oe-corePaul Eggleton2011-05-042-4/+1
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* busybox: upgrade to version 1.18.4Qing He2011-05-0410-37/+18
| | | | | | | from version 1.17.3 - remove make-382-fix since it's upstreamed Signed-off-by: Qing He <qing.he@intel.com>
* busybox: enable unmount all featurePaul Eggleton2011-03-182-2/+2
| | | | | | This allows "umount -f -a -r" in our initscripts to actually do something. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* busybox: Rework busybox to fix limitations in initscriptsMark Hatle2011-02-121-7/+14
| | | | | | | | A recent busybox change added a "second" initscript to the main busybox package. This however is not supported by the update-rc.d.bbclass. Instead we split the package so that each initscript gets it's own split. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* busybox: Support DHCP refresh without restarting the interfaceMark Hatle2011-02-074-2/+141
| | | | | | | | | | | | | | | | When the kernel is started using ip=dhcp, we want a way to be able to run the udhcp client within busybox and not reset the interface. When using the '-D' option to udhcpc, the defconfig script will be skipped allowing the refresh without changing the network settings. Also provide an initscript that can be used to detect ip=dhcp on the kernel command line, if detected it will refresh the lease and set the proper resolve.conf and related files, but not reset the interface. Original code in Wind River Linux by Greg Moffatt <greg.moffat@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* busybox: upgrade to version 1.17.3Qing He2010-11-1810-5/+12
| | | | | | | from 1.16.2 update license info: add checksum and change gplv2+ to gplv2 Signed-off-by: Qing He <qing.he@intel.com>
* busybox: enable more options for tar to support more file formats.Dexuan Cui2010-11-101-7/+7
| | | | | | Fixes [BUGID #495] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* busybox: import upstream patch for make 3.82Joshua Lock2010-11-092-1/+27
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* busybox/sysklogd: syslog.conf filesMark Hatle2010-10-212-3/+6
| | | | | | | | | The format of the syslog.conf files is different between busybox and sysklogd. Use the alternatives method to ensure we get the correct config file for any specific configurations. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>