Re: new debootstrap NMU for testing

2001-10-26 Thread Anthony Towns
On Thu, Oct 25, 2001 at 12:52:18PM +0200, Jö Fahlke wrote: > > On Thu, Oct 25, 2001 at 02:27:33AM +0200, Jö Fahlke wrote: > > > if eval "$@"; then > > to > > if "$@"; then > Hehe, simplicity! > I was wondering why the "eval" was there anyway. Be omitting it (or by > extra-quoting the arg

Re: new debootstrap NMU for testing

2001-10-25 Thread Jö Fahlke
Am Don, 25. Okt 2001, 12:35:24 +1000 schrieb Anthony Towns: > > On Thu, Oct 25, 2001 at 02:27:33AM +0200, Jö Fahlke wrote: [...] > > if eval "$@"; then > ^^ > to > if "$@"; then [...] Hehe, simplicity! I was wondering why the "eval" was there anyway. Be omitting

Re: new debootstrap NMU for testing

2001-10-25 Thread Jens Ruehmkorf
Hi all, > Try it out, let me know of any other easy stuff that will make users' > lives easier... I just want to report on things that went wrong with debootstrap for me and what I had to do to fix them: Usually I would run debootstrap on my woody-box like # debootstrap sid ./target http://my-

Re: new debootstrap NMU for testing

2001-10-24 Thread Anthony Towns
On Thu, Oct 25, 2001 at 02:27:33AM +0200, Jö Fahlke wrote: Actually, I think the right solution is just to change: > repeat () { > local n="$1" > shift > while [ "$n" -gt 0 ]; do > if eval "$@"; then ^^ to if "$@"; then > break > else > n="$

Re: new debootstrap NMU for testing

2001-10-24 Thread Jö Fahlke
Am Mit, 24. Okt 2001, 16:25:27 -0400 schrieb Adam Di Carlo: > Richard Hirst <[EMAIL PROTECTED]> writes: > > > smallyes '' | repeat 5 in_target_msg "unpacking required packages. This will be >attempted 5 times." dpkg --force-depends --unpack $(debfor $required) > > > > > > that msg with the sp

Re: new debootstrap NMU for testing

2001-10-24 Thread Richard Hirst
smallyes '' | repeat 5 in_target_msg "unpacking required packages. This will be attempted 5 times." dpkg --force-depends --unpack $(debfor $required) that msg with the spaces is protected by quotes so it appears as $1 to repeat(), but it isn't protected when repeat() passes it to in_target_msg

Re: new debootstrap NMU for testing

2001-10-24 Thread Richard Hirst
On Wed, Oct 24, 2001 at 04:58:16PM +0100, Richard Hirst wrote: > I just built cvs b-f with this new debootstrap on ia64, and > it has given me a warning dialog "Failure while required". in_target_msg () { local msg="$1" shift if ! eval chroot "$TARGET" "$@"; then warning "Failure while

Re: new debootstrap NMU for testing

2001-10-24 Thread Richard Hirst
On Mon, Oct 22, 2001 at 02:23:03AM -0400, Adam Di Carlo wrote: > > I put up a new debootstrap 0.1.15.7 at > http://people.debian.org/~aph/> for testing with. This has some > (minor I'm afraid) robustness improvements and better info and warning > messages during failure. > > Try it out, let me