Mike Frysinger
98a6f56d49
reword the error msg so people realize that they broke it, they buy it
2008-06-09 09:38:45 +00:00
Mike Frysinger
1e93f3c585
change default rtcwake mode to match changed behavior in upstream util-linux
2008-06-04 10:33:33 +00:00
Mike Frysinger
85571d8d01
make the help for rtcwake reflect the actual default behavior
2008-06-02 20:37:45 +00:00
Mike Frysinger
b81f97bbd2
fix by Jie Zhang for exit status and POSIX compliance:
...
http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
The exit status of a command that terminated because it received a signal shall be reported as greater than 128.
2008-05-14 11:51:04 +00:00
Mike Frysinger
ae86a338b8
[ #1334 ] exec script for devices even if they dont have device nodes
2008-02-20 18:31:36 +00:00
Mike Frysinger
977bc6a137
we need to pass back the rtc device name that was actually used so that we can turn around and check its sysfs status
2008-02-15 07:19:03 +00:00
Mike Frysinger
ea915363e7
fix build failure when long opts are enabled
2008-02-15 02:33:22 +00:00
Mike Frysinger
6b160e490d
split some rtc funcs out of hwclock and into an rtc header/lib so that the new rtcwake applet as well as hwclock can utilize the same code
2008-02-15 02:27:19 +00:00
Mike Frysinger
be7d2a8ded
sendmail is lexically after selinux, so fix the order
2008-02-15 01:43:22 +00:00
Mike Frysinger
25cd7fd702
add a test case for usage strings to catch people forgetting to add trailing escape in middle of usage
2008-02-15 01:42:28 +00:00
Mike Frysinger
1e47c429bf
fix microcom usage
2008-02-15 01:34:14 +00:00
Mike Frysinger
534b8d0483
force disable setlocalversion usage in busybox
2008-02-07 22:44:27 +00:00
Mike Frysinger
9412ec7555
some more fixes for cross-compiling on an OS X host: apple provides core types so dont redefine them, sys/statfs.h is not available, and only use some newer AF_* defines if they are actually available
2008-02-07 22:41:33 +00:00
Mike Frysinger
22876c797c
only include mntent.h according to HAVE_MNTENT_H and dont define this on OS X
2008-02-07 22:10:07 +00:00
Mike Frysinger
f0044c480c
add support for renaming/relocating device nodes
2008-02-01 06:53:50 +00:00
Mike Frysinger
c348e0bc7b
add a mini-faq about std{in,out,err}
2008-02-01 01:41:57 +00:00
Mike Frysinger
61160dd0a1
do not respect CONFIG_MODULES as it breaks building if it is defined in the build env
2008-01-27 09:41:24 +00:00
Mike Frysinger
46ef46aefb
as reported by George Boudreau, make sure we properly skip blank lines
2008-01-23 18:48:26 +00:00
Mike Frysinger
08137c28c4
add expected output
2007-12-25 04:35:05 +00:00
Mike Frysinger
bb50fdfe07
convert #if to if -- let gcc optimize away dead code for us
2007-12-25 04:30:14 +00:00
Mike Frysinger
c881c733bb
cleanup comments and coding style and rewrite the mdev.conf parser to use common busybox functions and call strdup() less often ... saves a ~few hundred bytes
2007-11-19 09:04:22 +00:00
Mike Frysinger
49d15890e0
make output a little more friendly
2007-11-18 06:42:56 +00:00
Mike Frysinger
e13bd362e3
merge from upstream for systems that dont integrate libintl into their C library:
...
commit aa1e5ef5c1d95e7ebf0821d9ba27debe43a87a22
Author: Sam Ravnborg <sam@ravnborg.org >
Date: Sun Aug 12 23:15:44 2007 +0200
kbuild: check if we can link gettext not just compile
cygwin provides the header file but the lib file needs
to be added manually. A generic fix is to check if
we can compile and link a program that uses gettext()
and if it fails fall back to NO_NLS.
International users of cygwin may have to specify
HOST_LOADLIBES := "-lintl" on the make command line.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org >
2007-11-18 06:17:52 +00:00
Mike Frysinger
dbd18f639c
exported symbols may be weak, so allow symbols marked as W
2007-11-18 06:13:58 +00:00
Mike Frysinger
8cc9cb8bc5
remove last source id
2007-07-13 05:03:46 +00:00
Mike Frysinger
d611cccd81
add support for --symbol-prefix/-P
2007-07-13 04:37:12 +00:00
Mike Frysinger
ae7f7ebcb7
document firmware support
2007-06-28 17:13:51 +00:00
Mike Frysinger
5b5bcf24f5
punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handling
2007-06-19 15:58:02 +00:00
Mike Frysinger
ebd27aabaa
fix an obvious typo while trying to access the tv_usec member
2007-06-18 07:12:31 +00:00
Mike Frysinger
0e0639b702
Alex Landau writes: open firmware for reading, not writing
2007-06-14 09:29:48 +00:00
Mike Frysinger
b51fd3525e
as suggested by Renaud Cerrato and Souf, switch over to recursive_action() for some nice shrinkage and so we work even when CONFIG_SYSFS_DEPRECATED is off
2007-06-13 09:24:50 +00:00
Mike Frysinger
a78ef2ccf1
add support for firmware loading
2007-06-13 07:34:15 +00:00
Mike Frysinger
3c82e48923
allow people to stick custom things into Makefile.local so they dont need to update busybox files while integrating into other build systems (like uClinux-dist)
2007-05-02 22:07:03 +00:00
Mike Frysinger
3a62a737f7
make sure we free the grep data as well
2007-04-12 18:29:27 +00:00
Mike Frysinger
9020d850bf
less intrusive export of FLTFLAGS
2007-04-05 21:14:29 +00:00
Mike Frysinger
c7b10dc037
set default FLTFLAGS for a fatty stack
2007-04-05 21:10:59 +00:00
Mike Frysinger
52a9db6bb8
introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are in the correct order
2007-03-30 05:44:15 +00:00
Mike Frysinger
7a96504d30
dont use obsolete function index() as pointed out by src.obsolete.funcs
2007-03-17 06:29:05 +00:00
Mike Frysinger
75acbe322c
punt useless header as pointed out by src.obsolete.headers
2007-03-17 06:27:38 +00:00
Mike Frysinger
757ed50841
fix typo as pointed out by src.obsolete.funcs
2007-03-17 06:26:51 +00:00
Mike Frysinger
67a32adbca
add STANDALONE support
2007-03-09 08:25:24 +00:00
Mike Frysinger
ae30210d90
create a document for mdev so people dont have to rtfs
2007-02-14 13:20:29 +00:00
Mike Frysinger
0aa6ba5d44
make sure ps/top output what they claim: vsz, not rss ... down the line we should make the output controllable either at runtime or buildtime as both statistics are quite useful
2007-02-08 08:21:58 +00:00
Mike Frysinger
4423e5beef
/etc/modules.conf is a 2.6.x file while /etc/modules.conf and /etc/conf.modules are 2.4.x and older files
2007-02-08 07:03:44 +00:00
Mike Frysinger
c5d9e8ff3d
touchup style; no functional changes
2007-02-08 06:30:58 +00:00
Mike Frysinger
5b6195c9bc
respect CFLAGS/CPPFLAGS in env
2007-01-26 07:14:01 +00:00
Mike Frysinger
0e282c9aed
combine depends lines
2007-01-24 14:50:27 +00:00
Mike Frysinger
11353ae0ab
as Peter Kjellerstedt points out, bool/prompt/depend need to be split up in order to achieve the desired behavior (default to Y without a prompt); revert previous to commits to this file
2007-01-24 14:34:35 +00:00
Mike Frysinger
a01579d4eb
change "bool ... if OPT" to more common "depend ... OPT"
2007-01-24 12:16:08 +00:00
Mike Frysinger
6cda89700e
combine bool;prompt to just bool
2007-01-24 09:32:42 +00:00
Mike Frysinger
841ef1308b
combine bool;prompt to just bool
2007-01-24 09:32:19 +00:00
Mike Frysinger
08e7097340
"depends ..." -> "depends on ..."
2007-01-24 09:14:09 +00:00
Mike Frysinger
71a6a4e723
correct file format errors
2007-01-24 08:24:43 +00:00
Mike Frysinger
a71199e0f0
str2u() is only used when FEATURE_SORT_BIG is enabled
2007-01-02 05:43:30 +00:00
Mike Frysinger
e5c095345e
convert usage compressed command into the new cmd style
2007-01-02 05:42:35 +00:00
Mike Frysinger
d514ba226b
convert include/autoconf.h split and include/bbconfigopts.h commands into the new cmd style
2006-12-31 11:46:19 +00:00
Mike Frysinger
5dd76862ef
Yann E. MORIN. writes: i pity the fool who doesnt use the z length modifier with size_t types
2006-12-31 11:34:17 +00:00
Mike Frysinger
1b3e8179a2
kill off AUTOCONF_INCLUDED (again) since it tends to get into cat fights with the kernel headers
2006-12-30 19:46:38 +00:00
Mike Frysinger
68ffb9a85d
make sure AUTOCONF_TIMESTAMP is filled up properly ... if user has a timezone of Factory for example, strftime() will overflow the string and leave us without a trailing "\n and all hell breaks loose when we compile
2006-12-30 19:43:35 +00:00
Mike Frysinger
40ae9b5617
prevent buffer underflows with empty lines
2006-12-30 19:30:20 +00:00
Mike Frysinger
c255f8b492
prevent accessing memory that we dont own
2006-12-30 19:21:48 +00:00
Mike Frysinger
d9e4ddc38b
we need to use the compiler driver to invoke LD as LDFLAGS is in the form the compiler driver understands, not the form the linker itself understands, so trying to invoke ld directly and passing it LDFLAGS while invoking the compiler driver in other places and passing it LDFLAGS does not work
2006-12-29 23:27:22 +00:00
Mike Frysinger
57ec574af7
* precision requires the argument be an integer, not size_t
2006-12-28 21:41:09 +00:00
Mike Frysinger
3672fe9e91
remove duplicate flag decls
2006-11-15 21:52:10 +00:00
Mike Frysinger
6ce8dae1d5
need libsepol in addtion to libselinux
2006-08-28 23:24:38 +00:00
Mike Frysinger
eac0c06938
allow people to display dmesg output without syslog levels
2006-07-27 11:18:36 +00:00
Mike Frysinger
0b7dfb5ae7
eat gremlins
2006-07-27 03:42:30 +00:00
Mike Frysinger
a7881119cc
de-cuddle if( to if (
2006-07-27 03:00:49 +00:00
Mike Frysinger
91a339002a
get rid of udhcp submenu
2006-07-24 07:35:52 +00:00
Mike Frysinger
8840759c61
move lchown/chown define out of specific files and into platform.h where it belongs
2006-07-20 19:31:07 +00:00
Mike Frysinger
83169c607b
Tito writes: If the gecos field of an user is empty, obscure reports a false "similar to gecos" error.
2006-07-15 03:59:00 +00:00
Mike Frysinger
58dda84ecc
decuddle () from for/if/while
2006-07-12 20:04:00 +00:00
Mike Frysinger
434ccd9739
fixes from ldoolitt@recycle.lbl.gov to use proper tab escaping and fix a typo
2006-07-05 22:19:21 +00:00
Mike Frysinger
259472e741
remove duplicate CONFIG_TASKSET option
2006-07-03 05:22:36 +00:00
Mike Frysinger
441bfbf143
make the -0 xargs option a little more clear
2006-07-03 05:19:44 +00:00
Mike Frysinger
c340ea191a
fix from Kolbjørn Barmen for building for m68k targets
2006-06-30 02:53:56 +00:00
Mike Frysinger
cc826d74e4
cleanup patch usage
2006-06-28 00:22:32 +00:00
Mike Frysinger
cd68a2e1a8
fix watchdog on no-mmu systems by adding -F option for rexec
2006-06-26 21:31:17 +00:00
Mike Frysinger
42705abc28
dont setpgrp() for now as it breaks system() and that is more important than ctrl+c handling of background processes
2006-06-26 20:42:36 +00:00
Mike Frysinger
135cee3741
Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0.
2006-06-21 23:03:37 +00:00
Mike Frysinger
c2ad4f5d27
Jean Wolter writes: ash uses bsearch to search in the list of built-in commands, therefore the list of built-in commands has to be ordered. Revision 15077 introduced the source built-in and destroyed this order. And now ash doesn't find the shift command anymore.
2006-06-21 18:04:49 +00:00
Mike Frysinger
b049c0ec19
only enable count_bit functions when actually needed to fix warning reported by Bernhard Fischer
2006-06-20 23:03:27 +00:00
Mike Frysinger
14ff19b28a
assign default debug level to the MSHDEBUG define
2006-06-20 20:37:01 +00:00
Mike Frysinger
b000586d02
danf writes: stty doesn't support baud rates > 460800 bps, the attached patch adds support for all baud rates supported by Linux 2.6.16 on x86.
2006-06-17 22:41:28 +00:00
Mike Frysinger
2e7dfc179c
need prototype for new vfork_daemon()
2006-06-07 21:58:57 +00:00
Mike Frysinger
9be7435203
initial support for no-mmu systems
2006-06-07 21:48:43 +00:00
Mike Frysinger
6fb5847faf
sometimes daemonizing and vfork()/exit() is ok
2006-06-07 21:48:30 +00:00
Mike Frysinger
ca70774293
bb_xdaemon() isnt available on no-mmu systems
2006-06-07 21:47:34 +00:00
Mike Frysinger
373af43bb0
comment all fields
2006-06-07 21:37:59 +00:00
Mike Frysinger
2fc534f3f1
hint at where the Magic comes from
2006-06-07 21:37:49 +00:00
Mike Frysinger
301ad67912
add reference to proc(5)
2006-06-07 20:24:34 +00:00
Mike Frysinger
830d258dee
use bb_xbind/bb_xlisten
2006-06-07 20:06:24 +00:00
Mike Frysinger
828d6bb3bc
whitespace
2006-06-07 20:04:13 +00:00
Mike Frysinger
62a2c15376
whitespace
2006-06-07 20:03:13 +00:00
Mike Frysinger
e3fdf2431a
add a --noclobber flag
2006-06-07 18:12:27 +00:00
Mike Frysinger
81514ecca3
add support for cleaning out previous busybox install
2006-06-07 18:08:25 +00:00
Mike Frysinger
74b29a107f
dont install emtpy libdirs
2006-06-07 17:27:46 +00:00
Mike Frysinger
55b12105b5
dont mix tabs and spaces, kthx
2006-06-07 17:24:29 +00:00
Mike Frysinger
bc6584977a
remove cvs $Id tag
2006-06-07 16:31:05 +00:00
Mike Frysinger
ea93f8a397
Tito writes: this patch fixes two potential bugs with the -i -I flags that could be reset during option parsing
2006-06-07 14:25:22 +00:00