the initrd for stateless has to been built first to make the installkernel cfg file added first. Refer to checkin 3df16cd4e3 for rh7

This commit is contained in:
daniceexi 2015-03-17 03:03:16 -04:00
parent a2fa0c2a28
commit e2713f9b7b

View File

@ -918,8 +918,8 @@ foreach my $dn (@ndrivers) {
system("chroot $rootimg_dir depmod $kernelver");
if ($dracutmode) {
mkinitrd_dracut("statelite");
mkinitrd_dracut("stateless");
mkinitrd_dracut("statelite");
} else {
my @drivers; # backup of @ndrivers
push @drivers, @ndrivers;