]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ktest: Fix tar extracting of modules to target
authorSteven Rostedt <srostedt@redhat.com>
Wed, 15 Jun 2011 00:44:36 +0000 (20:44 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 15 Jun 2011 00:44:36 +0000 (20:44 -0400)
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 <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl

index 24286cea14af3bf8cbd71574dfae4a634775df1e..5b35fa04429b8cb2bdd347b1c8eda9bdaa09a6a9 100755 (executable)
@@ -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";