driver load error when create stateless initrd

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-10-22 09:23:57 +00:00
parent 44df839b69
commit 9f328750d1

View File

@ -641,7 +641,11 @@ if ($dracutmode) {
mkinitrd_dracut("statelite");
mkinitrd_dracut("stateless");
} else {
my @drivers; # backup of @ndrivers
push @drivers, @ndrivers;
mkinitrd("statelite");
@ndrivers=();
push @ndrivers, @drivers;
mkinitrd("stateless");
}