Grep using the quiet option for squashfs features
authorMichael Prokop <devnull@localhost>
Mon, 21 Jan 2008 18:57:48 +0000 (19:57 +0100)
committerMichael Prokop <devnull@localhost>
Mon, 21 Jan 2008 18:57:48 +0000 (19:57 +0100)
debian/changelog
grml-live

index aa5d50e..4b6b44b 100644 (file)
@@ -7,6 +7,7 @@ grml-live (0.2) unstable; urgency=low
     for providing default /etc/default/loadcpufreq configuration.
   * Move sourcing /etc/grml/grml-live.local *before* the cmdline
     option parsing so we can override already set defaults interative.
+  * Grep using the quiet option for squashfs features.
 
  -- Michael Prokop <mika@grml.org>  Mon, 14 Jan 2008 22:54:10 +0100
 
index 4e13d6c..534b809 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -546,7 +546,7 @@ else
    [ -f "$CHROOT_OUTPUT/base.tgz" ] && rm -f "$CHROOT_OUTPUT/base.tgz"
 
    # execute squashfs:
-   if mksquashfs --help 2>&1 | grep -- -no-progress ; then
+   if mksquashfs --help 2>&1 | grep -q -- -no-progress ; then
       log "mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/grml.squashfs -noappend -no-progress"
       mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/grml.squashfs -noappend -no-progress $SQUASHFS_OPTIONS $SQUASHFS_ZLIB
    else