[PATCH 1/5] ktest: Add INSTALL_MOD_STRIP=1 when installing modules

From: Steven Rostedt
Date: Wed Mar 21 2012 - 12:03:01 EST


From: Steven Rostedt <srostedt@xxxxxxxxxx>

To keep the modules from bloating the target's filesystem
strip them during the install.

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
tools/testing/ktest/ktest.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 9507c4b..2b63190 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";
--
1.7.8.3


Attachment: signature.asc
Description: This is a digitally signed message part