-Move more modules to load on demand

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-03-14 16:00:35 +00:00
parent 676c5e2a57
commit 0052950159
3 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,6 @@ use POSIX qw(WNOHANG nice);
use xCAT::Table;
use xCAT::Utils;
use xCAT::MsgUtils;
use xCAT::Yum;
use xCAT::Template;
#use xCAT::Postage;
use Data::Dumper;
@ -823,6 +822,7 @@ sub copycd
#my $rc = system("cd $path; find . | nice -n 20 cpio -dump $installroot/$distname/$arch");
#my $rc = system("cd $path;rsync -a . $installroot/$distname/$arch/");
chmod 0755, "$installroot/$distname/$arch";
require xCAT::Yum;
xCAT::Yum->localize_yumrepo($installroot, $distname, $arch);
if ($rc != 0)
{

View File

@ -32,7 +32,6 @@ use Storable qw(freeze thaw);
use IO::Select;
use IO::Handle;
use Time::HiRes qw(gettimeofday sleep);
use Net::Telnet;
use xCAT::DBobjUtils;
use Getopt::Long;
@ -2249,6 +2248,7 @@ sub telnetcmds {
unless (%handled) {
return([0,\@unhandled]);
}
require Net::Telnet;
my $t = new Net::Telnet(
Timeout=>15,
Errmode=>'return',

View File

@ -12,7 +12,6 @@ use POSIX qw(WNOHANG nice);
use xCAT::Table;
use xCAT::Utils;
use xCAT::MsgUtils;
use xCAT::Yum;
use xCAT::Template;
#use xCAT::Postage;
use Data::Dumper;