Skip to content

Commit

Permalink
ktest: Add INSTALL_MOD_STRIP=1 when installing modules
Browse files Browse the repository at this point in the history
To keep the modules from bloating the target's filesystem
strip them during the install.

Signed-off-by: Steven Rostedt <[email protected]>
  • Loading branch information
Steven Rostedt authored and rostedt committed Mar 21, 2012
1 parent fde7d90 commit 627977d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/ktest/ktest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 627977d

Please sign in to comment.