for rh7, the initrd for stateless has to been built first to make the installkernel cfg file added first

This commit is contained in:
daniceexi 2014-05-15 03:54:58 -04:00
parent 6a50b11ffc
commit 2000a8c562

View File

@ -779,8 +779,8 @@ system("chroot $rootimg_dir depmod $kernelver");
# the other one is for statelite
if ($dracutmode) {
mkinitrd_dracut("statelite");
mkinitrd_dracut("stateless");
mkinitrd_dracut("statelite");
} else {
mkinitrd("statelite");
mkinitrd("stateless");