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>
This commit is contained in:
Steven Rostedt 2012-03-21 08:16:15 -04:00 committed by Steven Rostedt
parent fde7d9049e
commit 627977d83a

View File

@ -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";