Would a command-line option work?



On Sun, Oct 6, 2013 at 10:34 AM, Tim Kientzle <notifications@github.com>wrote:

> In lib/gzip.sh:
>
> > @@ -0,0 +1,11 @@
> > +
> > +# compress the image, since it's easier to SCP around this way
> > +gzip_image() {
> > +    echo "Compressing image"
> > +    if [ -f $IMG.gz ]; then
> > +       rm $IMG.gz
> > +    fi
> > +    gzip -k $IMG
> > +}
> > +strategy_add $PHASE_POST_UNMOUNT gzip_image
>
> I would prefer not to do this unconditionally, since many people are
> building an image so they can immediately 'dd' it somewhere.
>
> What if we moved this into a standard option:
>
> option GzipImage
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/kientzle/crochet-freebsd/pull/14/files#r6787231>
> .
>



-- 
A better world shall emerge based on faith and understanding  - Douglas
MacArthur