]> xenbits.xensource.com Git - osstest.git/commitdiff
ts-debian-hvm-install: Use xargs -0 to avoid massive filelist in logs.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 27 Jul 2015 12:51:27 +0000 (13:51 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 5 Aug 2015 16:08:59 +0000 (17:08 +0100)
The current arrangement is a bit odd, I'm not sure why it would be
that way and it results in a huge list of files in the middle of the
log which is rather boring to scroll through.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-debian-hvm-install

index 890c902dc2fa0935c9ea42fd1d7c7fc45f8b022c..4b1eca4638eeeeea37c2de80461e66e63d34d9f6 100755 (executable)
@@ -162,7 +162,7 @@ sub prepare_initrd ($$$) {
       cd -
       rm -rf $initrddir
       cd $newiso
-      md5sum `find -L -type f -print0 | xargs -0` > md5sum.txt
+      find -L -type f -print0 | xargs -0 md5sum > md5sum.txt
       cd -
 END
 }