Merge branch 'imgcapture'

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2011-03-22 08:36:11 +00:00
parent 21cfc2fb31
commit 4175e33d5c
3 changed files with 12 additions and 27 deletions

View File

@ -317,21 +317,6 @@ sub imgcapture {
xCAT::MsgUtils->message("D", $rsp, $callback);
}
my @spotslist = ("/tmp/", "/proc/", "/sys/", "/dev/");
if($verbose) {
my $rsp = {};
$rsp->{data}->[0] = qq{The spots to be restored in the image are:};
foreach (@spotslist) {
push @{$rsp->{data}}, $_;
}
xCAT::MsgUtils->message("D", $rsp, $callback);
}
# create the directories listed in @spotslist in the rootimg
foreach my $path (@spotslist) {
mkpath("$rootimgdir$path");
}
# the next step is to call "genimage"
my $platform = getplatform($os);
if( -e "$::XCATROOT/share/xcat/netboot/$platform/genimage" ) {

View File

@ -1,6 +1,6 @@
./tmp*
./proc*
./dev*
./sys*
./install*
./xcatpost*
./tmp/*
./proc/*
./dev/*
./sys/*
./install/*
./xcatpost/*

View File

@ -1,6 +1,6 @@
./tmp*
./proc*
./dev*
./sys*
./install*
./xcatpost*
./tmp/*
./proc/*
./dev/*
./sys/*
./install/*
./xcatpost/*