move the localdisk mount point creating to genimage

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2013-04-27 08:03:10 +00:00
parent 337c515d02
commit a8a4a10263

View File

@ -21,7 +21,6 @@ Getopt::Long::Configure("pass_through");
my $cmdname = "liteimg";
my $statedir = ".statelite";
my $lddir = ".sllocal";
my $verbose = "0";
sub handled_commands {
return {
@ -558,12 +557,6 @@ sub liteMe {
xCAT::Utils->runcmd("mkdir -p $rootimg_dir/$statedir/tmpfs", 0, 1);
}
# ceate the dir for local disk mount point
unless (-d "$rootimg_dir/$lddir") {
$callback->({info=>["creating $rootimg_dir/$lddir"]});
xCAT::Utils->runcmd("mkdir -p $rootimg_dir/$lddir", 0, 1);
}
foreach my $line (keys %{$hashNewRef}) {
liteItem($rootimg_dir, $line, 0, $callback);
if($hashNewRef->{$line}) { # there're children