diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-07 18:01:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-07 18:01:54 +0200 |
commit | 2ad7f82e4af8a894b42157ccaabfeb90870d080f (patch) | |
tree | a9280d64446dca5cbf3ed5d25b1cbabea16fbf23 /solenv | |
parent | 2195e0c699be6093f200ba6225a80ec4b9a545b8 (diff) |
Prevent epm from stripping unless explicitly requested
Change-Id: I9f89d78d5772a1a60c89ab4aa4b6ef9bd6179754
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/epmfile.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm index 7425a780b77d..8045536623b8 100644 --- a/solenv/bin/modules/installer/epmfile.pm +++ b/solenv/bin/modules/installer/epmfile.pm @@ -829,6 +829,8 @@ sub call_epm my $extraflags = ""; if ($ENV{'EPM_FLAGS'}) { $extraflags = $ENV{'EPM_FLAGS'}; } + $extraflags .= ' -g' unless $installer::globals::strip; + my $systemcall = $ldpreloadstring . $epmname . " -f " . $packageformat . " " . $extraflags . " " . $localpackagename . " " . $epmlistfilename . $outdirstring . " -v " . " 2\>\&1 |"; installer::logger::print_message( "... $systemcall ...\n" ); |