use Utils instead of BuildkitUtils.pm

This commit is contained in:
baiyuan 2014-10-28 05:36:29 -04:00
parent 475e64aa69
commit 50f2f825ac

View File

@ -17,7 +17,6 @@ use lib "$::XCATROOT/lib/perl";
use xCAT::Table;
use xCAT::Utils;
use xCAT::MsgUtils;
use xCAT::BuildKitUtils;
use Getopt::Long;
#use Data::Dumper;
use File::Basename;
@ -33,7 +32,7 @@ $::KITFRAMEWORK ="2";
$::COMPATIBLE_KITFRAMEWORKS = "0,1,2";
my $debianflag = 0;
my $tempstring = xCAT::BuildKitUtils->osver();
my $tempstring = xCAT::Utils->osver();
if ( $tempstring =~ /debian/ || $tempstring =~ /ubuntu/ ){
$debianflag = 1;
print "debian";