[BusyBox] Is this a uclibc problem or a busybox problem?

Rob Landley rob at landley.net
Sat Aug 27 19:55:08 UTC 2005


On Saturday 27 August 2005 14:40, Bernhard Fischer wrote:
> On Sat, Aug 27, 2005 at 04:13:24PM +0200, Bernhard Fischer wrote:
> >On Sat, Aug 27, 2005 at 06:03:46AM -0500, Rob Landley wrote:
> >>tar -chf - include --exclude .svn --exclude CVS $extra_exclude \
> >>
> >>        | tar -xf - -C /usr/
> >>
> >>tar: CVS: No such file or directory
> >
> >busybox tar seems not to support '--exclude='
> >
> >>Thus my question: is this a busybox bug, a uClibc bug, or both?
>
> The main problem is that --exclude= will trigger the --exclude-from=
> argument. Does anyone know if there is a switch to force unambiguous
> arguments (i.e. exact match opt_foo for '--foo' and opt_foobar for
> '--foob' and warn about '--fo' being ambiguous)?

Isn't this a question of listing them in the right order?

> The (ugly and extremely error prone) quick alternative would be to
>
> tar.c: (append_file_list_to_list): treat non-existing exclude-from
> inputfile file as filename to add to the reject list.

Um...  Ick, I think.

> which is attached (i wouldn't check that part in).
> There's also a speeling fix in a comment and an adjustment to tar's
> execl arguments (gcc complained about it) in there.

I'll take a whack at it.  It would also be nice to cleanup uClibc so that A) 
it doesn't try to exclude CVS directories that are no longer there, B) it 
notices when tar dies and fails the install correctly.

Rob



More information about the busybox mailing list