summaryrefslogtreecommitdiffstats
path: root/solenv/bin/modules/installer/helppack.pm
diff options
context:
space:
mode:
authorThorsten Behrens <thorsten.behrens@allotropia.de>2022-01-15 16:24:33 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2022-01-22 10:14:23 +0100
commitb8278d93bbf8c63e283024783da32f84f7e4f246 (patch)
tree3ef6511084ea46b3da3bd5bccfd076126ff17c53 /solenv/bin/modules/installer/helppack.pm
parentSwNavigator: revamp SwContentType::HasContentChanged function (diff)
downloadcore-b8278d93bbf8c63e283024783da32f84f7e4f246.tar.gz
core-b8278d93bbf8c63e283024783da32f84f7e4f246.zip
Make installer compression tool configurable
So we can use pigz or other parallelizable tools if available. Shaves off noticeable build time when packaging install sets. - figure out if pigz is available (fallback to gzip otherwise) - pass compression tool down into make_installer - and handle as one of many global options there Change-Id: Ia9d1ea27a9f990874238b6f0be3e1fd30a662ec6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128469 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'solenv/bin/modules/installer/helppack.pm')
-rw-r--r--solenv/bin/modules/installer/helppack.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/helppack.pm b/solenv/bin/modules/installer/helppack.pm
index 726157be2e27..456e91ecfdb0 100644
--- a/solenv/bin/modules/installer/helppack.pm
+++ b/solenv/bin/modules/installer/helppack.pm
@@ -130,7 +130,7 @@ sub create_tar_gz_file
$packagename =~ s/\.rpm\s*$//;
my $targzname = $packagename . ".tar.gz";
- my $systemcall = "cd $installdir; tar -cf - $packagestring | gzip > $targzname";
+ my $systemcall = "cd $installdir; tar -cf - $packagestring | $installer::globals::packertool > $targzname";
installer::logger::print_message( "... $systemcall ...\n" );
my $returnvalue = system($systemcall);