anaconda: regenerate grub.cfg using grub2-mkconfig

Normally anaconda uses grubby to update bootloader configuration. But
unfortunately it breaks grub configuration (removes trailing "=", so
empty variable assignment xen_rm_opts= is broken). Instead of reworking
the whole bootloader support in anaconda, just regenerate grub.cfg at
the end.
release3.0
Marek Marczykowski-Górecki 9 years ago
parent 332dbb12c4
commit 6ec0a27683

@ -5,5 +5,6 @@ for initrd in /boot/initramfs-*.img; do
version=`basename $initrd .img|cut -f 2- -d-`
dracut --force $initrd $version
done
grub2-mkconfig -o /boot/grub2/grub.cfg
%end

Loading…
Cancel
Save