diff options
author | Tim Retout <tim@retout.co.uk> | 2012-09-26 21:58:45 +0100 |
---|---|---|
committer | Tim Retout <tim@retout.co.uk> | 2012-09-26 21:58:45 +0100 |
commit | 247d1899e3fb69af30094d388c97ce074a2da26c (patch) | |
tree | 6b5620722317777270a1b6c820a3f84c8df96ebd | |
parent | acaaf6c72162566e896421e03ee4c966936c7917 (diff) |
installer::worker: Remove unused tar_package
Change-Id: I58e9efdda8fac5b65e259b63a5150c44fa00feb6
-rw-r--r-- | solenv/bin/modules/installer/worker.pm | 37 |
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 ######################################################### |