summaryrefslogtreecommitdiff
path: root/tools/testing/ktest/ktest.pl
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-03-21 08:16:15 -0400
committerSteven Rostedt <rostedt@goodmis.org>2012-03-21 08:16:15 -0400
commit627977d83ad081c43c9bcd3ad1e89e816a752061 (patch)
tree75b0a6429db59e4f72c17e245a0b25a81b9fcdb0 /tools/testing/ktest/ktest.pl
parentfde7d9049e55ab85a390be7f415d74c9f62dd0f9 (diff)
downloadlwn-627977d83ad081c43c9bcd3ad1e89e816a752061.tar.gz
lwn-627977d83ad081c43c9bcd3ad1e89e816a752061.zip
ktest: Add INSTALL_MOD_STRIP=1 when installing modules
To keep the modules from bloating the target's filesystem strip them during the install. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/ktest.pl')
-rwxr-xr-xtools/testing/ktest/ktest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 9507c4b251a8..2b63190c9f64 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -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";