summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorTim Retout <tim@retout.co.uk>2012-09-26 21:58:45 +0100
committerTim Retout <tim@retout.co.uk>2012-09-26 21:58:45 +0100
commit247d1899e3fb69af30094d388c97ce074a2da26c (patch)
tree6b5620722317777270a1b6c820a3f84c8df96ebd /solenv/bin
parentacaaf6c72162566e896421e03ee4c966936c7917 (diff)
installer::worker: Remove unused tar_package
Change-Id: I58e9efdda8fac5b65e259b63a5150c44fa00feb6
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/modules/installer/worker.pm37
1 files changed, 0 insertions, 37 deletions
diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm
index 017f2ab7af17..cb205b434dc1 100644
--- a/solenv/bin/modules/installer/worker.pm
+++ b/solenv/bin/modules/installer/worker.pm
@@ -1387,43 +1387,6 @@ sub put_license_into_setup
}
#########################################################
-# Create a tar file from the binary package
-#########################################################
-
-sub tar_package
-{
- my ( $installdir, $packagename, $tarfilename, $getuidlibrary) = @_;
-
- my $ldpreloadstring = "";
- if ( $getuidlibrary ne "" ) { $ldpreloadstring = "LD_PRELOAD=" . $getuidlibrary; }
-
- my $systemcall = "cd $installdir; $ldpreloadstring tar -cf - $packagename > $tarfilename";
-
- my $returnvalue = system($systemcall);
-
- my $infoline = "Systemcall: $systemcall\n";
- push( @installer::globals::logfileinfo, $infoline);
-
- if ($returnvalue)
- {
- $infoline = "ERROR: Could not execute \"$systemcall\"!\n";
- push( @installer::globals::logfileinfo, $infoline);
- }
- else
- {
- $infoline = "Success: Executed \"$systemcall\" successfully!\n";
- push( @installer::globals::logfileinfo, $infoline);
- }
-
- chmod 0775, $tarfilename;
-
- my $fulltarfile = $installdir . $installer::globals::separator . $tarfilename;
- my $filesize = ( -s $fulltarfile );
-
- return $filesize;
-}
-
-#########################################################
# Collecting all pkgmap files from an installation set
#########################################################