From 50f2f825acfe9bb652dc0ff7d05e45d8223df1d0 Mon Sep 17 00:00:00 2001 From: baiyuan Date: Tue, 28 Oct 2014 05:36:29 -0400 Subject: [PATCH] use Utils instead of BuildkitUtils.pm --- xCAT-server/lib/xcat/plugins/kit.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/kit.pm b/xCAT-server/lib/xcat/plugins/kit.pm index f0dc4a547..cb59fa0eb 100644 --- a/xCAT-server/lib/xcat/plugins/kit.pm +++ b/xCAT-server/lib/xcat/plugins/kit.pm @@ -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";