ktest: Add INSTALL_MOD_STRIP=1 when installing modules
authorSteven Rostedt <srostedt@redhat.com>
Wed, 21 Mar 2012 12:16:15 +0000 (08:16 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 21 Mar 2012 12:16:15 +0000 (08:16 -0400)
To keep the modules from bloating the target's filesystem
strip them during the install.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

tools/testing/ktest/ktest.pl

index 9507c4b..2b63190 100755 (executable)
@@ -1643,7 +1643,7 @@ sub install {
        return;
     }
 
-    run_command "$make INSTALL_MOD_PATH=$tmpdir modules_install" or
+    run_command "$make INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$tmpdir modules_install" or
        dodie "Failed to install modules";
 
     my $modlib = "/lib/modules/$version";