diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-09 16:37:43 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-09 16:37:43 +0200 |
commit | 1e19daef1537cb3a3c5608037f82a494822746b1 (patch) | |
tree | f83d0a799eadcc47250b0d5c0f29b71477776903 | |
parent | e116d008ca727c2dfbce25809821db6bf354f461 (diff) | |
download | mkinitcpio-1e19daef1537cb3a3c5608037f82a494822746b1.tar.gz mkinitcpio-1e19daef1537cb3a3c5608037f82a494822746b1.tar.xz |
mkinitcpio: add --quiet to bsdcpio without -v
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-x | mkinitcpio | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -341,7 +341,9 @@ if [[ "${GENIMG}" ]]; then [[ "$COMPRESSION" = xz ]] && COMPRESSION_OPTIONS+=" --check=crc32" pushd "$BUILDROOT" >/dev/null - find . -print0 | bsdcpio -0oH newc | $COMPRESSION $COMPRESSION_OPTIONS > "$IMGPATH" + find . -print0 | + bsdcpio $( (( QUIET )) && echo '--quiet' ) -0oH newc | + $COMPRESSION $COMPRESSION_OPTIONS > "$IMGPATH" pipesave=("${PIPESTATUS[@]}") # save immediately popd >/dev/null |