diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-29 15:55:17 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-29 15:55:17 +0100 |
commit | b742f0874798050d31ef31fb7f66053e34d36194 (patch) | |
tree | 50d5f4d547a72f6fa4f56b5aa74e6b6f48addcf2 | |
parent | aa999d0586fd69094cb06ccb3ae5c429649662e0 (diff) | |
download | libguestfs-b742f0874798050d31ef31fb7f66053e34d36194.tar.gz libguestfs-b742f0874798050d31ef31fb7f66053e34d36194.tar.xz libguestfs-b742f0874798050d31ef31fb7f66053e34d36194.zip |
Run cpio with --quiet option so it doesn't print 'xx blocks'
-rw-r--r-- | perl/lib/Sys/Guestfs/Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm index 7a734aa0..601b3f48 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; |