make-3.82 *** mixed implicit and normal rules

2010-10-19 Thread Thomas Chou
Hi Mike, I met lots of mixed implicit and normal rules errors after updating make to v3.82. These included uClinux-dist upstream and blackfin, busybox etc. vendors/Makefile, all image clean romfs romfs.post vendor_%: $(MAKE) -C $(dir_v) dir_v=$(dir_v) -f $(VEND)/vendors-common.mak

Patch for udhcpc hwtype

2010-10-19 Thread Sam Liddicott
--- networking/udhcp/dhcpc.c.orig 2010-10-11 14:15:04.0 +0100 +++ networking/udhcp/dhcpc.c 2010-10-11 14:15:28.0 +0100 @@ -145,6 +145,7 @@ int tryagain_timeout = 20; int discover_timeout = 3; int discover_retries = 3; + int hwtype = 1; uint32_t server_addr = server_addr; /*

Re: Patch for udhcpc hwtype

2010-10-19 Thread walter harms
could you be abit more verbose about your patch ? e.g what problem is fixed ? re wh Sam Liddicott schrieb: ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: Patch for udhcpc hwtype

2010-10-19 Thread Denys Vlasenko
My telepathic powers say that you are trying to fix the handling of -c CLIENTID option. For those lucky 99,999% who never needed to know about it: CLIENTID has the following format: 1 byte of hwtype (1 for ethernet), followed by hw address (usually 6-byte MAC). --rfc2132.txt-- 9.14.

[PATCH] Diff: Make sure we handle empty files properly

2010-10-19 Thread Lukas Huba
Hi Denys, From TODO list: diff Make sure we handle empty files properly: From the patch man page: you can remove a file by sending out a context diff that compares the file to be deleted with an empty file dated the Epoch. The file will be removed unless patch is

Re: [PATCH] Diff: Make sure we handle empty files properly

2010-10-19 Thread Gilles Espinasse
- Original Message - From: Lukas Huba huba.lu...@centrum.cz To: busybox@busybox.net Sent: Tuesday, October 19, 2010 6:43 PM Subject: [PATCH] Diff: Make sure we handle empty files properly Suggested rewording of the comment and help texts Gilles busybox.patch Description: Binary data

[PATCH] add-shell, remove-shell: new applets

2010-10-19 Thread Alexander Shishkin
[Sorry, the previous mail seems to have been eaten by the smarthost, apologies if it comes twice.] function old new delta add_shell_main - 459+459 .rodata

Re: [PATCH] add-shell, remove-shell: new applets

2010-10-19 Thread Alexander Shishkin
On Tue, Oct 19, 2010 at 11:18:43 +0200, Denys Vlasenko wrote: On Tuesday 19 October 2010 22:33, Alexander Shishkin wrote: [Sorry, the previous mail seems to have been eaten by the smarthost, apologies if it comes twice.] function old new

Re: [PATCH] add-shell, remove-shell: new applets

2010-10-19 Thread Alexander Shishkin
On Tue, Oct 19, 2010 at 06:33:50 -0500, Matthew Stoltenberg wrote: Why do you need it? (I ask because sometimes there _is_ a valid, but unknown to me, reason to have this or that tool in bbox). I will vouch that a lot of debian based systems seem to break if you don't have /etc/shells

Re: [PATCH] add-shell, remove-shell: new applets

2010-10-19 Thread Stuart Longland
On 10/20/10 09:55, Denys Vlasenko wrote: Randonly googled up page, http://man.he.net/man8/add-shell, says: add-shell copy /etc/shells to /etc/shells.tmp, add the given shells to this file if they are not already present, and copy this temporary file back to /etc/shells.

[PATCH] add-shell, remove-shell: new applets

2010-10-19 Thread Alexander Shishkin
How about this? (I left locking in place but applied other changes) function old new delta add_shell_main - 497+497 .rodata 144696 144795 +99