From 8f6ab7afaa3c1f544485be8a667b4bdb50d4e67b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 21 Jan 2008 19:57:48 +0100 Subject: [PATCH] Grep using the quiet option for squashfs features --- debian/changelog | 1 + grml-live | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index aa5d50e..4b6b44b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 14 Jan 2008 22:54:10 +0100 diff --git a/grml-live b/grml-live index 4e13d6c..534b809 100755 --- 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 -- 2.1.4