From: Steven Rostedt Date: Wed, 15 Jun 2011 00:44:36 +0000 (-0400) Subject: ktest: Fix tar extracting of modules to target X-Git-Tag: v3.1-rc1~227^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7b13441895fd0f95c34a004eed364524cca71cb;p=profile%2Fivi%2Fkernel-x86-ivi.git ktest: Fix tar extracting of modules to target The tar command to create the module directory is cjf, but the extraction only had xf. This works on most versions of tar, but some versions of tar require xjf for extraction as well. Signed-off-by: Steven Rostedt --- diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 24286ce..5b35fa0 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -1087,7 +1087,7 @@ sub install { unlink "$tmpdir/$modtar"; - run_ssh "'(cd / && tar xf /tmp/$modtar)'" or + run_ssh "'(cd / && tar xjf /tmp/$modtar)'" or dodie "failed to tar modules"; run_ssh "rm -f /tmp/$modtar";