summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-07 18:01:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-07 18:01:54 +0200
commit2ad7f82e4af8a894b42157ccaabfeb90870d080f (patch)
treea9280d64446dca5cbf3ed5d25b1cbabea16fbf23 /solenv
parent2195e0c699be6093f200ba6225a80ec4b9a545b8 (diff)
Prevent epm from stripping unless explicitly requested
Change-Id: I9f89d78d5772a1a60c89ab4aa4b6ef9bd6179754
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/epmfile.pm2
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" );