the file discinfo.pm is moved into xCAT::data namespace,anaconda.pm is modified accordingly

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2012-01-04 07:45:15 +00:00
parent ce470c7c4f
commit 1f52436da5

View File

@ -1183,7 +1183,8 @@ sub copycd
my $installroot = "/install";
my $sitetab = xCAT::Table->new('site');
require xCAT::discinfo;
require xCAT::data::discinfo;
if ($sitetab)
{
@ -1239,11 +1240,11 @@ sub copycd
$darch = "x86";
}
close($dinfo);
if ($xCAT::discinfo::distnames{$did})
if ($xCAT::data::discinfo::distnames{$did})
{
unless ($distname)
{
$distname = $xCAT::discinfo::distnames{$did};
$distname = $xCAT::data::discinfo::distnames{$did};
}
}
elsif ($desc =~ /^Final$/)