Fedora 19 has no grub2 conf file.
This fixes ramdisk creation on Fedora 19. Change-Id: Ica486473cecb93feac740ae905fba5f2a3723bc2
This commit is contained in:
parent
9ba761ef27
commit
15007cc184
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ case $DISTRO in
|
|||
[[ ! -d /boot/grub2 ]] && exit 0
|
||||
|
||||
echo 'GRUB_CMDLINE_LINUX="nomodeset vga=normal"' >/etc/default/grub
|
||||
if [ -f /boot/grub2/grub.cfg ]; then
|
||||
sed -i -e 's/terminal_output gfxterm/terminal_output console/' /boot/grub2/grub.cfg
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue