From b742f0874798050d31ef31fb7f66053e34d36194 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 29 Jul 2009 15:55:17 +0100 Subject: [PATCH] Run cpio with --quiet option so it doesn't print 'xx blocks' --- perl/lib/Sys/Guestfs/Lib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm index 7a734aa..601b3f4 100644 --- a/perl/lib/Sys/Guestfs/Lib.pm +++ b/perl/lib/Sys/Guestfs/Lib.pm @@ -433,7 +433,7 @@ sub file_architecture $g->download ($path, "$dir/initrd"); my $bins = join " ", map { "bin/$_" } @_initrd_binaries; - my $cmd = "cd $dir && $zcat initrd | cpio -id $bins"; + my $cmd = "cd $dir && $zcat initrd | cpio --quiet -id $bins"; my $r = system ($cmd); die __x("cpio command failed: {error}", error => $?) unless $r == 0; -- 1.8.3.1