aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* trivial small speed optimizationDenys Vlasenko2012-06-221-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: do not pass "comment=ANYTHING" option to kernel. Closes 5240Denys Vlasenko2012-06-221-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: undo recent breakage when mount flags were made unsignedDenys Vlasenko2012-06-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix the wrongly stored fs creation timeDenys Vlasenko2012-06-213-14/+54
| | | | | | This bug made our ext2 images non-mountable by ext4 driver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: set up RO loop device if mount -o ro. Closes 4784Denys Vlasenko2012-06-211-14/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak help textsDenys Vlasenko2012-06-212-9/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adduser: install to /usr, not /, like all other similar toolsDenys Vlasenko2012-06-201-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Move several applets to different install dir:Denys Vlasenko2012-06-203-23/+23
| | | | | | | | | | | | Moved to [/usr]/sbin: addgroup, adduser, delgroup, deluser, arping, chat, ether-wake, fdformat, ifplugd, ip, ipaddr, iplink, iproute, iprule, iptunnel, killall5, readahead, rtcwake, tftpd, add-shell, remove-shell, powertop. Moved to /bin for /usr/bin: kbd_mode. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak help textDenys Vlasenko2012-06-192-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix build of kconfig on DarwinBernhard Walle2012-06-181-0/+2
| | | | | | | | | Of course busybox cannot be used on Darwin (Mac OS X), but it can be cross-compiled for Linux there. Cross-compilation still requires kconfig to be built as native host tool. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix wget-supports--P testsuite failure. Closes 4940Denys Vlasenko2012-06-171-6/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* config: do not refer to HTTPS for wgetPierre Carrier2012-06-171-2/+2
| | | | | Signed-off-by: Pierre Carrier <pierre@spotify.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: make -c _not_ truncate the fileDenys Vlasenko2012-06-171-2/+14
| | | | | | | | function old new delta retrieve_file_data 396 436 +40 reset_beg_range_to_zero 52 45 -7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unzip: make options parsing more robust on getopt w/o gnu extensionsDenys Vlasenko2012-06-151-67/+70
| | | | | | | | | | | | | Also, code shrank: function old new delta static.extn 15 10 -5 packed_usage 29231 29217 -14 unzip_main 2388 2291 -97 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-116) Total: -116 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://busybox.net/var/lib/git/busyboxDenys Vlasenko2012-06-142-12/+30
|\
| * ps: use separate get_uptime() and make it work on non-linux tooMichael Tokarev2012-06-131-11/+29
| | | | | | | | | | | | | | | | Create get_uptime() function in procps/ps.c, and use it rather than relying on linux-specific sysinfo() inline. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nanddump: make dumping read-only partitions workMatt Reimer2012-06-131-1/+1
| | | | | | | | | | | | | | | | Make dumping read-only partitions work by opening the device O_RDONLY; otherwise the open() will fail with -EPERM. Signed-off-by: Matt Reimer <mreimer@sdgsystems.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | wget: correctly handle failure to -c (continue)Denys Vlasenko2012-06-131-0/+16
| | | | | | | | | | | | | | | | function old new delta reset_beg_range_to_zero - 52 +52 wget_main 2168 2189 +21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | wget: add dummy --no-cacheVladimir Dronnikov2012-06-131-10/+16
|/ | | | | | | | | function old new delta static.wget_longopts 155 166 +11 packed_usage 29259 29231 -28 Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modinfo: match more standard module fields and fix version fieldTanguy Pruvot2012-06-121-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, -F version could match the srcversion= string. before : ~ # modinfo -F version tiwlan_drv version: 6.1.2012.05.29 version: 533BB7E5866E52F63B9ACCB version: 0x%x, oui=0x%x, 0x%x, 0x%x version: 0x%x ~ # modinfo tiwlan_drv filename: tiwlan_drv.ko author: Texas Instruments Inc - Retouched by CyanogenDefy license: GPL vermagic: 2.6.32.9 preempt mod_unload ARMv7 parm: g_sdio_debug_level:debug level depends: now : ~ # modinfo -F version tiwlan_drv version: 6.1.2012.05.29 ~ # modinfo tiwlan_drv filename: tiwlan_drv.ko license: GPL author: Texas Instruments Inc - Retouched by CyanogenDefy version: 6.1.2012.05.29 srcversion: 533BB7E5866E52F63B9ACCB depends: uts_release: 2.6.32.9-g306944c vermagic: 2.6.32.9 preempt mod_unload ARMv7 parm: g_sdio_debug_level:debug level This patch also add support for the old "-n" and some other helpers Change-Id: Icb4e9ca513cbce46b075a6f038799a7a19fb7e22 Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id/ext: use common bb_e2fs_defs.h for ext2/3/4 constants and structsDenys Vlasenko2012-06-122-72/+35
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* su: do not change to home dir unless -lPascal Bellard2012-06-125-7/+11
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove FEATURE_VI_OPTIMIZE_CURSOR from example configDenys Vlasenko2012-06-128-8/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rdate: code shrinkDenys Vlasenko2012-06-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add comments in keyboard escape sequences tableDenys Vlasenko2012-06-111-5/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: save/restore screen upon invocationDenys Vlasenko2012-06-111-0/+4
| | | | | | | function old new delta vi_main 253 273 +20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: nuke FEATURE_VI_OPTIMIZE_CURSORDenys Vlasenko2012-06-111-124/+58
| | | | | | | | | | | | | | | | | | It is not Unicode safe, it is not saving much of I/O, and it's large: function old new delta vi_main 255 253 -2 go_bottom_and_clear_to_eol 28 26 -2 do_cmd 4194 4182 -12 show_status_line 388 374 -14 strncat 39 - -39 __GI_strncat 39 - -39 refresh 774 724 -50 place_cursor 276 83 -193 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/6 up/down: 0/-351) Total: -351 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ntpd: on time step, kill all outstanding replies from other peersDenys Vlasenko2012-06-111-20/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: some more awk tests related to conditionsTanguy Pruvot2012-06-111-0/+7
| | | | | Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rdate: code shrinkDenys Vlasenko2012-06-111-11/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: do not set autoindent by defaultDenys Vlasenko2012-06-111-7/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: add missing_syscalls.c: for now, only Android syscallsTias Guns2012-06-101-0/+42
| | | | | Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* android: some sensible defconfig changesTias Guns2012-06-101-14/+14
| | | | | | | | | | | | | | | | | | | - no /usr - no skip rootfs - use /system/lib/modules And for niceties: - show usage - have installer - long opts - verbose cp - ls --color support - bbconfig Also adds lsof (new in 1.20.0) Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATHTias Guns2012-06-101-0/+6
| | | | | Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* android: fix 'stat', ifdef S_TYPEIS* in coreutiles/stat.cTias Guns2012-06-101-0/+6
| | | | | | | | patch modified from 'BusyBox Patch V1.0 (Vitaly Greck)' https://code.google.com/p/busybox-android/downloads/detail?name=patch_busybox Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* inetd: fix build failure in AndroidTias Guns2012-06-101-0/+1
| | | | | Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* brctl: fix build failure by s/strtotimeval/bb_strtotimeval/ (android has ↵Denys Vlasenko2012-06-101-2/+2
| | | | | | | strtotimeval) Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lpr: don't send 0-byte print jobs (compat)Denys Vlasenko2012-06-101-13/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix 256-bit encoded number decodingEtienne Le Sueur2012-06-091-1/+1
| | | | | Signed-off-by: Etienne Le Sueur <elesueur@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix a bug in >${varexp} handling. Closes 5282Denys Vlasenko2012-06-093-10/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: yet another fix on top of zero length match codeDenys Vlasenko2012-06-082-6/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* man: fix handling of gzipped manpagesDenys Vlasenko2012-06-081-10/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix breakage added by zero length match codeDenys Vlasenko2012-06-072-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: code shrinkDenys Vlasenko2012-06-041-13/+15
| | | | | | | function old new delta process_files 2181 2173 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix zero chars match/replaceDenys Vlasenko2012-06-042-24/+50
| | | | | | | function old new delta process_files 2099 2181 +82 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifplugd: tweak help textDenys Vlasenko2012-06-031-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc[6]: show select timeout in logDenys Vlasenko2012-06-022-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unzip: ignore chmod errorsNatanael Copa2012-05-283-2/+8
| | | | | | | | This makes unzip to FAT filesystems not exit with error. This is similar to how the "normal" unzip works. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: support -J, --xz explicit compression optionBoris Reisig2012-05-241-2/+15
| | | | | | | | | | function old new delta tar_main 868 881 +13 tar_longopts 285 290 +5 packed_usage 29267 29270 +3 Signed-off-by: Boris Reisig <boris@boris.ca> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix build failure when only gunzip is selectedAnthony G. Basile2012-05-201-1/+1
| | | | | Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>