From 61806dc74f58d3f7b3db47ca7ef3b7bfcf192511 Mon Sep 17 00:00:00 2001 From: zhang Date: Thu, 15 Oct 2020 17:43:28 +0800 Subject: [PATCH] =?UTF-8?q?[=20Bug=20#5350=20]=20V42=E7=B3=BB=E7=BB=9F-?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E7=B3=BB=E7=BB=9F=E5=90=8E=EF=BC=8C=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=BF=9B=E5=85=A5=E5=9B=BE=E5=BD=A2=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E5=8D=A1=E5=9C=A8tty=E7=99=BB=E5=BD=95=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改: operation/finish_install/99exec_install_efi.sh Signed-off-by: zhang --- operation/finish_install/99exec_install_efi.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/operation/finish_install/99exec_install_efi.sh b/operation/finish_install/99exec_install_efi.sh index 44a0ee9..6e20528 100755 --- a/operation/finish_install/99exec_install_efi.sh +++ b/operation/finish_install/99exec_install_efi.sh @@ -2,10 +2,9 @@ efimode=`cat /proc/cmdline | sed 's/.*efimode=\([^ ]*\).*/\1/'` upgrubcmd="/usr/sbin/update-grub" +source ./functions if [ $efimode == "y" ];then - - source ./functions efi_dir="/Rocky/boot-efi" @@ -25,5 +24,11 @@ if [ $efimode == "y" ];then echo -e "Install efi successfully !" else + + mkdir $TARGET/opt/fbdev + mv $TARGET/usr/lib64/xorg/modules/drivers/fbdev_drv.la $TARGET/opt/fbdev + mv $TARGET/usr/lib64/xorg/modules/drivers/fbdev_drv.so $TARGET/opt/fbdev + sed -i "s/fbdev/vesa/g" $TARGET/etc/X11/xorg.conf + echo -e "not efi mode !" fi