Drop GFXPAYLOAD and video=vesa:off

el9
Nicolas Chauvet 8 years ago
parent 623c430620
commit b5122eece5

@ -414,7 +414,7 @@ if [ "$1" -eq "1" ]; then
ISGRUB1="--grub" ISGRUB1="--grub"
GFXPAYLOAD="vga=normal" GFXPAYLOAD="vga=normal"
else else
echo "GRUB_GFXPAYLOAD_LINUX=text" >> %{_sysconfdir}/default/grub #echo "GRUB_GFXPAYLOAD_LINUX=text" >> %{_sysconfdir}/default/grub
if [ -f /boot/grub2/grub.cfg ]; then if [ -f /boot/grub2/grub.cfg ]; then
/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg /sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
fi fi
@ -430,7 +430,7 @@ if [ "$1" -eq "1" ]; then
for kernel in ${KERNELS} ; do for kernel in ${KERNELS} ; do
/sbin/grubby $ISGRUB1 \ /sbin/grubby $ISGRUB1 \
--update-kernel=${kernel} \ --update-kernel=${kernel} \
--args="nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off $GFXPAYLOAD" \ --args="nouveau.modeset=0 rd.driver.blacklist=nouveau $GFXPAYLOAD" \
&>/dev/null &>/dev/null
done done
fi fi

Loading…
Cancel
Save