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 0c668d1cf0
commit 3df16cd4e3

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");