[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] fedoostrap or deboostrap requirement



Guido Günther wrote:
> On Mon, Jul 27, 2009 at 12:06:29AM +0300, Piavlo wrote:
>   
>> I fail to understand what's wrong in in_target_failmsg defined in
>> /usr/share/debootstrap/functions which is called from in_target function:
>>
>> in_target_failmsg () {
>>         local code="$1"
>>         local msg="$2"
>>         local arg="$3"
>>         shift; shift; shift
>>        if ! chroot "$TARGET" "$@"; then
>>                warning "$code" "$msg" "$arg"
>>                return 1
>>        fi
>>         return 0
>> }
>>
>> I don't understand why the if is entered while:
>> chroot "$TARGET" "$@"
>> finishes with 0 exit code? 
>>     
> Me neither. The only thing that could help is to add some debugging
> output to in_target_failsmsg to get the return code, command, etc. Just
> to make sure we're not beating a dead horse: this is debootstrap 1.0.15?
>   
no i'm at 1.0.13 - is  this critical? should i really upgrade to  1.0.15?
> /bin/sh is bash?
>   
yes
> Cheers,
>  -- Guido
>   


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]