[arch-releng] archiso feature request: disable progress bars.

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Fri Oct 14 21:56:10 EDT 2011


On 10/14/2011 02:20 PM, Gerardo Exequiel Pozzi wrote:
> On 10/13/2011 05:44 PM, Dieter Plaetinck wrote:
>> Hello senior Gerardo,
>> how about making a build.sh command argument to disable progress bars?
>> I.e. it would call mksquashfs -no-progress
>> my logfiles would look prettier :)
>> I thought maybe you could do "don't show progress bars when 
>> non-verbose" but I like the verbose flag so I can see errors/warnings.
>> or maybe you should always show errors/warnings, also when not verbose.
>> then I could run without the verbose flag and don't see any progress 
>> bars.
>>
>>
>> Dieter
>>
>
> OK. I will look at the code again in few days. I am a bit busy in 
> these weeks.
>

OK just disabled progress bar, if you need other thing, please let me know.

Error handling is a bit special (bash -x), it stop at the first thing 
that goes bad. Maybe can be a good idea to trap this and show an error 
message that says "for details enable verbose mode".

http://projects.archlinux.org/archiso.git/commit/?id=51db47e74bb5209bb242d99e6d69b1f683dd3085

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list