aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/files
AgeCommit message (Collapse)Author
2013-02-22hwclock.sh: check for the existence of /etc/default/rcSChen Qi
/etc/default/rcS might be missing if the init manager is not sysvinit. So we have to check for the existence of this file before sourcing it. [YOCTO #3697] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-02hwclock.sh: improve hwclock.sh script to use UTC variableChen Qi
Make UTC variable in /etc/default/rcS has effect on hwclock.sh. This variable declares whether the Hardware Clock is kept in UTC or local time. Default its value to "yes" and change the comment. [YOCTO #3341] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-02busybox: udhcpc shouldn't be a serviceJesse Zhang
udhcpc is invoked from the networking service, so it shouldn't exist standalone. If /etc/init.d/busybox-udhcpc is present, it will cause udhcpc to be started two times. And since the script doesn't support the stop action, it will cause udhcpc to be started even when system is being shutdown. Remove /etc/init.d/busybox-udhcpc to resolve the issues. [YOCTO #2840] Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26busybox:udhcpc: fix the root_is_nfs() functionRoy.Li
[YOCTO #2788] The system will be hung when udhcpc starts, if nfs is mounted at "/" directory and default route is different after starting udhcpc. The cause is that root_is_nfs() does not work after kernel-2.6.37, since the device name has been changed from /dev/root to ${IPADDR}:${NFSDIR} on /proc/mounts. which leads to remove the default routes to nfs server, Now we use a loose match to check if rootfs is nfs. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-04busybox: port improvements to simple.script from Debian (udhcpc)Andreas Oberritter
* 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>
2012-01-19busybox: enable dropping of duplicates in syslog, off by defaultJoshua Lock
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>
2012-01-19busybox: change syslog default to log to a fileJoshua Lock
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>
2012-01-19busybox: enable log level configuration in syslog-startup.conf and scriptJoshua Lock
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>
2012-01-19busybox: remove incorrect comments from syslog-startup.confJoshua Lock
Setting rotation size and generations is supported with busybox syslogd Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-01-19busybox: drop MARKINT option from init script and syslog-startup.confJoshua Lock
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>
2012-01-04busybox: rename syslog.conf to syslog-startup.confJoshua Lock
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>
2011-05-10busybox: add support to mdevOtavio Salvador
This changes the packaging only if the configuration used has mdev support enabled. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-02-07busybox: Support DHCP refresh without restarting the interfaceMark Hatle
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>
2010-08-27Major layout change to the packages directoryRichard Purdie
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>