summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkinitcpio4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index a94d09c..4a394d8 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -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